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

Wrong executable permission on checked out file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: p4-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          p4paul 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...

          Show
          p4paul 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...
          Hide
          fechanti Francois E added a comment -

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

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

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

          Show
          fechanti Francois E added a comment - It seems this is no more an issue with Jenkins 1.617 and perforce plugin 1.3.34
          Hide
          p4paul 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

          Show
          p4paul 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
          Hide
          fechanti 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)

          Show
          fechanti 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)
          Hide
          p4paul Paul Allen added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: