Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating folder with permissions

Status
Not open for further replies.

jreynold

Technical User
Dec 20, 2006
24
US
I want to use access to kind of keep my files organized. I own a contracting company, each project has a folder, each "job folder" has a folder in it called "admin", that only specific users on the server can access. Two questions, is there a way to create a folder with permissions already in place? If there is a way would the user have to be one of the people the permissions were created for?

If you can point me in the right direction i would appreciate it!!!
 
First thing I am wondering is why you don't just create groups in Active Directory, assign the group to the folders, and move users in and out of the groups using Active Directory? My guess is you do not have admin rights on the server. I've done it two ways. The easiest way to do it is create a set of template folders that have the typical permissions you want, and then use XCOPY in a shell command like so:


to copy the folders to your tree. If you do not have Administrator's rights to the domain or to the server, that is the only way you can really do it if you are restricted to an area of the server where you have full rights.

The hard way is here, but you have to have admin rights on the domain to make it work:


cut the first section into a form, the second section into a module, etc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top