• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

permission woes

Red Squirrel

No Lifer
I'm trying to give access to a directory for a regular user to write to. The only way afaik to do t his is that the user has write access to every parent folder too. Is there a way around this? It's just not viable to do this. I only want the user to have access to that one folder. i made the user the owner and it's chmodded 775 and it just wont work. Get permission denied when try to create a file.
 
Make sure the path from root to the folder has read and execute access for all, or for the user's group. e.g. 555 on /export, 555 on /export/home, 755 or 775 on /export/home/user.
 
degibsion is right, you don't need write access to all of the parent directories otherwise / would have to be 777 for /tmp, /home/username, etc to work.
 
Yeah realized when I was testing I was logging in and the user's shell is /dev/null for security reasons (not normally a user that logs in - just a service account) so when I tried I was still as another user.

Got it sorted out now.
 
Back
Top