Folder and File Permissions

E

Ed Gregory

I have a main directory that all users can only create sub-directories in.
After they create a sub-directory they can then add/modify/delete
files/sub-directories within the subdirectory. All users can read
sub-directories/files contained in this main directory. When a person
creates a sub-directory in this main directory they are the owner so only
they can modify the contents of sub-directory or files contained within.
This is all fine and works fine.

However, I need to know how to configure ACLs so that after someone has
created a sub-directory, another user can add files to that sub-directory.
The files this user adds are controlled by this user (creator/owner).

Layout:
\Data directory:
- All users can read all files and sub-directories within
- All users can create sub-directories within Data directory.
- All users cannot create files within Data directory. To add files to Data
directory a user must first create a sub-directory and then add files to
sub-directory.
- The user that creates a sub-directory becomes the owner of the
sub-directory.

\Data\xyz sub-directory (example sub)
- The person that created the \xyz sub-directory can add/modify/delete files
and sub-directories he created
- The person that DID NOT create the \xyz sub-directory needs to be able to
add files and sub-directories to the \Data\xyz sub-directory. After he
creates the files/sub-directories he becomes the owner and do whatever he
wants to them.
- All users can read files and sub-directories.

I know that creator/owner handles permissions for whatever a user creates.
This works fine. ***** The portion of the above that doesn't work is when a
user creates a sub-directory, another user is unable to add files to the
sub-directory that original creator created.***** The other user is able to
create new sub-directories beneath \Data and new sub-directories beneath
\Data\xyz. The other user is able to create new files beneath a new
sub-directories he creates beneath \Data and beneath \Data\xyz. The problem
is on between asterisk above!

Thank you.
 
E

Ed Gregory

Disregard. I finally found the problem. Changing ACL to subfolders and
files rather than just files did the trick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top