Question Locked

NTFS Permissions

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a logon script that creates a folder for a user on a remote server if the folder doesn't already exist. The script works fine, but I'm having trouble with the actual permissions.

My folder structure looks like this:
\\Server Share\Users\User Folder1
\User Folder2
\User Folder3, etc.

User1 is the Creator Owner of User Folder1, etc, etc. ala the script. I want the user who created the folder to have modify and write permissions, but they should only have read permissions for the other users' folders. For example: User1 can create folders and modify files and folders on User Folder1, but User1 can only read the contents of User Folder2. Users should also not be able to create other folders in the Users folder. The only folders that should be in there are the ones for each user that was created by the script.

Sorry, I know that's probably really confusing. Does anyone have any ideas on how I can adjust permissions on the Users folder to give me what I want on the subfolders that will be created? Or is there a way to include the correct permissions in the script but have the Users folder not allow users the write permission? Thanks!

3 replies

by cookieorc

If this is a small shop of 10 or so people why dont you just set the permission manually on the server side? (supposing this is on a domain)

If it is like 20+ users... Do you want us to provide a sample script?

I hope I am reading your question correctly

by Member 27131101

I actually have a few hundred users, so it would definitely need to be automated somehow. A sample script would be great. I'm just not sure what to use. I don't think CACLS will really work because the parent folder won't allow folder creation...unless I'm totally misunderstanding things. I wonder if it's possible to change the CACLS on the parent folder just temporarily. Let me know your ideas! Thanks!

This discussion is closed to new replies.