Let's say that permissions for user
and group
are set up correctly on a directory. Would a 0 permission for other
on that directory provide effective access control for the directory's files and subdirectories? Are there gotchas to consider?
When you create files that are rw
to other people (like with Unix Domain Sockets) people think of it as a security issue, since there's a race condition that a malicious user can exploit before proper permissions are applied to a file. That's why I'm looking for an "atomic" way of doing basic permissioning.