How to give permissions to jenkins user for a particular file

0 votes

Hi,

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, 2020 in Jenkins by akhtar
• 38,260 points
4,880 views

1 answer to this question.

0 votes

Hi@akhtar,

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, 2020 by MD
• 95,460 points

Related Questions In Jenkins

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
• 59,230 points
8,687 views
0 votes
1 answer

how to create a job using jenkins for Sign the puppet certificate on master ?

Take a look at this  https://fullstack-puppet-docs.readthedoc ...READ MORE

answered May 29, 2020 in Jenkins by Sirajul
• 59,230 points
1,143 views
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 May 27, 2020 in Jenkins by MD
• 95,460 points
4,151 views
0 votes
1 answer

How to deploy a jar file (spring boot jar) using Jenkins?

Use Gradle publish plugin in built.gradle. That should ...READ MORE

answered Sep 30, 2020 in Jenkins by Adil Abdullah khan

edited Mar 4, 2022 by Sarfaraz 4,521 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
+2 votes
1 answer
0 votes
1 answer

How to set permissions for a user in Jenkins?

Hi@akhtar, You can give access to your user ...READ MORE

answered Dec 7, 2020 in Jenkins by MD
• 95,460 points
36,632 views
+3 votes
2 answers

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
• 59,230 points

edited May 28, 2019 by Sirajul 112,407 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP