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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.