How to change default permissions of created jobs in Jenkins file system

331 views
Skip to first unread message

Samith Dassanayake

unread,
Jun 16, 2015, 5:03:54 AM6/16/15
to jenkins...@googlegroups.com
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 755. But for my use case, when job is created, I want it to created with the 775(or with a given permission). How can I achieve that?. 
Appreciate your help.. 

Regards,
Samith

Daniel Beck

unread,
Jun 16, 2015, 5:13:31 AM6/16/15
to jenkins...@googlegroups.com
This is controlled by the umask Jenkins is running as. Check the Jenkins configuration files (/etc/defaults/jenkins or /etc/sysconfig/jenkins depending on distro), I think they already have options for this.
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8f2562dc-c31f-442e-866c-53f48ad7827a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Samith Dassanayake

unread,
Jun 16, 2015, 7:13:07 AM6/16/15
to jenkins...@googlegroups.com, m...@beckweb.net
It worked!. Thanks Daniel. 
Reply all
Reply to author
Forward
0 new messages