I am trying, and failing, to give the user
jenkins write access to
Firstly: Yes, this is not something you would normally recommend doing. But for some reason Jenkins is insisting on writing and reading from the roots home directory. If you know immediately why it is doing that and how to stop, I will gladly look at it. But for now, as much as it goes against my better judgement, I need to give jenkins write permissions to
On a safety note, there is nothing in
/root that I have not put there myself.
This is what I am running (initially logged in as root):
~# chmod o=rwx /root ~# sudo su jenkins /root$ touch test touch: cannot touch 'test': Permission denied /root$ cd .pip/ /root/.pip$ touch test /root/.pip$ ls pip.conf pip.log test
So this is the weird thing.
I have already given read/write permissions to the subfolders within
/root which works fine. But I still cannot actually write to the directory itself.
Does anyone have any idea why?