Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4830

Default shell for hudson user in debian package prevents from properly running svn commands

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      When using the hudson maven release plugin, maven will trigger a SCM tag.

      This command will be ran on the user's login shell and won't reuse the svn
      permissions stored by hudson.

      The hudson user created by the current debian package doesn't allow shell, so
      the command will not be able to reuse any locally configured subversion
      logins.

      The patch works around the issue by assigning a shell to the hudson user
      created by maven. The patch doesn't address existing hudson users.

      I am not sure if this change needs to be committed or if because of security
      issues, we should let users manually modify the system configuration.

          [JENKINS-4830] Default shell for hudson user in debian package prevents from properly running svn commands

          lacostej added a comment -

          Created an attachment (id=1005)
          fix.

          lacostej added a comment - Created an attachment (id=1005) fix.

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/debian/hudson.postinst
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=24007
          Log:
          [FIXED JENKINS-4830] in 1.336. Thanks for the patch!

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/debian/hudson.postinst trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24007 Log: [FIXED JENKINS-4830] in 1.336. Thanks for the patch!

            Unassigned Unassigned
            lacostej lacostej
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: