• 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.

chmod permissions question

Red Squirrel

No Lifer
Say I have a folder called parent and it's chmodded 700 and owned by "user:user"

If I put stuff in that folder and the permissions are say, 777 or some other permissions that others could access, would they be secure because of the parent folder's permissions?

In my testing it appears to be so, but just wondering if there's ways around that security that I'm not considering.

Here's what I need to do: I want to mount a CIFS shard to a linux directory, but I only want a specific user to have access to it, so I was thinking of making a folder, chmod it to 700 and make it owned by that user, then make another folder in that folder, and use it as the mount point.

Will this be secure from other users?
 
Depends. They wouldn't be able to cwd into the parent directory because of the 700 permissions, but they could still read the child directory if they knew it's name. So 'cd /blah' would fail but 'ls /blah/insecure' would work fine.
 
Back
Top