Link to home
Start Free TrialLog in
Avatar of howei
howei

asked on

How to change permissions on the share from command line?

Is ther a way to change permisions on the network share folder from admin PC command line?

This is windows 2000/2003 enviroment.
Thank you
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sweatbeast
sweatbeast

The command line tool CACLS will also do this this - it is available by default on XP/2003 (not sure about 2000).

Subinacls give you more functionality
cacls will only handle NTFS permissions, not share permissions.
Avatar of howei

ASKER

Thanks!
Cacls works only localy?
cacls works on network folders as well; something like
cacls \\SomeServer\SomeShare\Some\Subfolder /e /g SomeGroup:f
will change the NTFS permissions (but not the share permissions!) of the subfolder.