How to give permissions to jenkins user for a particular file?

0 votes


I am trying to copy my data to a particular file using jenkins. How can I give permission to jenkins for a particular file?

Thank You

Feb 14 in Jenkins by akhtar
• 10,150 points

1 answer to this question.

0 votes


To give permissions to jenkins user, you can use the below commands

$ setfacl -m u:jenkins:rwx  /file

$ getfacl   /file

Hope it will help you.

Thank You

answered Feb 14 by MD
• 21,980 points

Related Questions In Jenkins

+1 vote
1 answer

Is there a way to restrict permissions to a user per individual job in jenkins?

Yes, you can configure user permissions per ...READ MORE

answered May 28, 2019 in Jenkins by Sirajul
• 52,850 points

edited May 28, 2019 by Sirajul 17,965 views
0 votes
1 answer

How to fix a broken build for my project in jenkins?

The user needs to open the console ...READ MORE

answered Oct 11, 2019 in Jenkins by Sirajul
• 52,850 points
0 votes
0 answers
+4 votes
7 answers

How to set the pipeline name and description for a Jenkinsfile?

You can rename pipeline jobs in jenkins ...READ MORE

answered Oct 11, 2018 in Jenkins by Hannah
• 18,040 points
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
0 votes
1 answer
0 votes
1 answer

how to pass a file to downstream job in jenkins?

Hi@Sourabh, You can do this task by sharing ...READ MORE

answered 1 day ago in Jenkins by MD
• 21,980 points
0 votes
1 answer

How to install jenkins in Redhat/CentOS?

Hi@akhtar, To install Jenkins in centOS/Redhat, you can ...READ MORE

answered Feb 6 in Jenkins by MD
• 21,980 points