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

Wrong executable permission on checked out file

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • p4-plugin

      Hello,

      I have a file in my perforce depot that has executable permission. When I sync it manually as the jenkins user, it got the right executable permission, i.e 666. However when synced by p4-plugin (through a jenkins jobs) using same user, same workspace, the permissions are 644.
      We have a workaround for that (fixing the permission after the facts), but would appreciate a fix.
      Thank you.

          [JENKINS-28220] Wrong executable permission on checked out file

          Paul Allen added a comment -

          Do you have an unusual UMASK set for the jenkins OS user?

          This might be a P4Java bug, I'll look into it...

          Paul Allen added a comment - Do you have an unusual UMASK set for the jenkins OS user? This might be a P4Java bug, I'll look into it...

          Francois E added a comment -

          The umask for the jenkins OS user is 0022, seems typical to me.
          Thanks for having a look

          Francois E added a comment - The umask for the jenkins OS user is 0022, seems typical to me. Thanks for having a look

          Francois E added a comment -

          It seems this is no more an issue with Jenkins 1.617 and perforce plugin 1.3.34

          Francois E added a comment - It seems this is no more an issue with Jenkins 1.617 and perforce plugin 1.3.34

          Paul Allen added a comment -

          Not sure if you have your Perforce plugins mixed up?
          Your JIRA issue was raised under the `p4` plugin (from Perforce) not the community plugin `perforce`.
          The latest `p4` version is 1.2.4

          Paul Allen added a comment - Not sure if you have your Perforce plugins mixed up? Your JIRA issue was raised under the `p4` plugin (from Perforce) not the community plugin `perforce`. The latest `p4` version is 1.2.4

          Francois E added a comment -

          Sorry, yes I'm using the "P4 plugin" 1.2.4. Got confused as the "Perforce plugin" was installed too but the P4 one was not showing up in the list (probably some incomplete migration when we moved the jenkins master)

          Francois E added a comment - Sorry, yes I'm using the "P4 plugin" 1.2.4. Got confused as the "Perforce plugin" was installed too but the P4 one was not showing up in the list (probably some incomplete migration when we moved the jenkins master)

          Paul Allen added a comment -

          No problem; do let me know if you have any issues with the `p4` plugin.

          Paul Allen added a comment - No problem; do let me know if you have any issues with the `p4` plugin.

            Unassigned Unassigned
            fechanti Francois E
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: