Computing.Net > Forums > Windows Server 2003 > Private Share Permissions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Private Share Permissions

Reply to Message Icon

Name: marticus
Date: September 17, 2004 at 12:38:24 Pacific
OS: Windows Server 2003
CPU/Ram: Intel 1.6ghz, 512RAM
Comment:

This is probably something really easy, but I'm lost, so here goes. I'm running my file server on windows server 2003. I have a kixtart script set to run from my domain controller that will map a private P: drive for each user: \\server\profile$\username. It will create the folder 'username' if it doesn't already exist.

It works great, but my question is, how do I automatically set permissions on the 'username' folder when it is created?

ie:
I don't want userA to be able to type the command "\\server\profile$\userB" and gain access to all of userB's private files...

I know it's just a matter of permissions but how do i set them up dynamically? If i wasn't clear please ask any questions... any help is appreciated.




Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: September 17, 2004 at 12:45:29 Pacific
Reply:

You set them on the folder that contains your user profiles (ie: \\servername\share\%username%) and make sure they're inherited. This way, when a new folder is created under \share, the perm's will be the same as all the other folders under \share.


0

Response Number 2
Name: marticus
Date: September 17, 2004 at 12:48:30 Pacific
Reply:

I know that, but isn't there a way to do it dynamically upon folder creation, I don't want to go do this for 100+ users...? Thanks.


0

Response Number 3
Name: Dave_A
Date: September 17, 2004 at 13:20:32 Pacific
Reply:

cacls, not sure of the syntax, but look that up, & add it to your Kix scripts.


0

Response Number 4
Name: Curt R
Date: September 18, 2004 at 06:58:38 Pacific
Reply:

If you've set your share up correctly and the perm's on the root folder for the user profile folders and have inheritance enabled....each new folder will get the appropriate perm's when it's created. It doesn't have to be done manually.

In the normal course of things the only groups I would have added to the \\servername\share folder would be the administrator and/or the domain admin group, and the "Authenticated Users" group. Then, when the new folders are created, those groups would be added to the ACL of the new user profile folders with the appropriate permission levels (as copied from the root). If you understand anything about groups in 2000/2003 you'll know that the authenticated users group only allows the owner (ie: the person the profile folder is named after) into that folder (as well as the administrator). If anyone else tries, they get "access denied".


0

Response Number 5
Name: marticus
Date: September 20, 2004 at 08:03:16 Pacific
Reply:

Thanks for your help CurtR it worked. I'd like to ask another question though, if you're still reading these.

Having done the private user shares, I'm doing the same type of thing with departments; all of which have members in a different group, so I want everyone who's in particular security group to have access to these folders upon creation. Is there a way or default group like "authenticated users" that will acheive my goal? Thanks. Apologies if these questions seem trivial, but I'm new to windows server 2000/03.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: Private Share Permissions

Assign share permissions to groups www.computing.net/answers/windows-2003/assign-share-permissions-to-groups/8910.html

Sharing file permissions Help www.computing.net/answers/windows-2003/sharing-file-permissions-help/5835.html

how to set Permission to share fol www.computing.net/answers/windows-2003/how-to-set-permission-to-share-fol/5096.html