Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On ubuntu 10.0.4
Did sudo su
Then installed eclipse in /root/eclipse (only wget and unzip, no apt-get)
Then installed android sdk in /root/android-sdk-linux_x86 (only wget and unzip, no apt-get)
Run with gksudo /root/eclipse/eclipse &
No issues. Development working fine.

Then installed jenkins in /var/lib/jenkins (using apt-get)

Now when I use jenkins "Execute shell" option and call shell scripts,
I get permissions issues like for example:
/root/android-sdk-linux_x86/tools/android: Permission denied
Cannot find /root/android-sdk-linux_x86/tools/ant/pre_setup.xml

How do I configure users and groups in this kind of scenario,
so that I can run scripts from jenkins (running as the jenkins user) ?

share|improve this question
up vote 0 down vote accepted

install everything into jenkins's home directory instead of root.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.