/tmp/jenkins6403305246799294208.sh: line 2: cd: /root: Permission denied

0 votes

Hi everyone,

I tried to run command from jenkins command console. But I am getting permission denied. I am not able to download anything.

Can someone help me?

Thank You

Feb 6 in Jenkins by akhtar
• 1,440 points
24 views

1 answer to this question.

0 votes

Hi@akhtar,

You are getting permission denied because you are not giving the path of jenkins workplace folder. Give jenkins workplace folder path else don't give any path just run your command.

Thank You

answered Feb 6 by MD
• 2,750 points

Related Questions In Jenkins

+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
11,681 views
0 votes
1 answer

Jenkins cannot open directory Permission denied

Try whoami command to find out which ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 51,810 points
611 views
0 votes
1 answer
0 votes
1 answer

Print the line if it contains a specific string by using groovy.

You can try the code written below: ...READ MORE

answered Apr 27, 2018 in Jenkins by shubham
• 6,910 points
3,284 views
0 votes
1 answer

Not getting any output through sh 'alias' for Jenkinsfile

As you know each sh command runs in ...READ MORE

answered May 1, 2018 in Jenkins by shubham
• 6,910 points
559 views
0 votes
1 answer

How can I exchange jobs between 2 different Jenkins instances?

java -jar jenkins-cli.jar -s http://server get-job myjob ...READ MORE

answered Jul 6, 2018 in Jenkins by Sophie may
• 9,940 points
80 views
+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
352 views
0 votes
1 answer