Linux folder privilege issue
Hello everyone,
I have a directory (A) which is accessible (read and write) by user foo (non-root user), sometimes root user will create a sub-directory (B) under this directory. Then the user foo will not be able to access (read and write) the sub-directory (B) created by root user.
I am wondering whether there are any atomic ways to make the directory (A) and all its sub-directory (B) -- even B is created by root -- accessible (read and write) by a specific user foo (non-root user).
I am thinking about whether there are any ways to set directory A and all its sub-directory accessible by user foo, even if the sub-directories are created by root user and created later (dynamically) than the time when I assign the directory (A) accessible by user foo.
thanks in advance,
George
|