I have a couple of users on jenkins server - ec2-user and jenkins I ssh on the jenkins box as ec2-user For some reasons, we have dependencies on jenkins accessing a file in
/home/ec2-user/.local/lib/python3.8/site-packages Now if i change just that folder's permissions or change owners for that folder, jenkins is not able to access it because it can't get to /home/ec2-user/.local If i change permissions on /home/ec2-user/.local i can no longer log in. Its quite a catch-22 situation.
Anyone have recommendations on how to address this?
Know someone who can answer?