The umask setting for the Jenkins user is probably what controls the permissions on those files. Refer to the "umask" man page on your system to see if you can find a way to set the umask on the account running the Jenkins process.
Job definitions can be downloaded with http (or https) from the Jenkins server. For example, the configuration of the job "xyzzy" is available at http://serverurl/job/xyzzy/config.xml <http://serverurl/jobs/xyzzy/config.xml> . I think you'll find that is a better technique than Samba to see the latest job definition. It avoids any temptation to modify the job definition on the file system and shows current settings. Mark Waite On Mon, Jan 22, 2018 at 8:20 PM 黄涛 <huangtao123...@gmail.com> wrote: > Hi all, > > When I create a job(say *foo*), if I check the <JENKINS_HOME>/jobs/ > directory all the jobs are created with the permission 750. > drwxr-x--- 3 android android 4096 1月 23 09:17 foo/ > > I want to share jobs in samba,i want it to created with the 775.How can I > achieve that?. > Appreciate your help.. > > My jenkins version is 2.64 and i use jenkins.war in tomcat. > > Regards, > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/0bcfbf74-72f5-4e4a-ba05-f30902e4805d%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0bcfbf74-72f5-4e4a-ba05-f30902e4805d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFTKhmA%3Dhg%3DVzUKnoHg2cSXF7QMJVLHEF-Lo7ucPYfdqw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.