Link to home
Start Free TrialLog in
Avatar of atomic500
atomic500

asked on

Using cacls or xcacls to force inheritance of rights from directory to files

I was wondering if there is a way to use calcs or xcalcs on a directory so that all the files in the directory will inherit the rights of the directory.

The problem is that potentially users will use FTP to upload files (for example images) to the a directory hosted by IIS.   Sometimes with FTP the file retains its permissions from the client machine rather than inheriting permissions of the directory it was uploaded to.. So users who are authenticated to the website may not have permissions to see the newly uploaded image..

Is it possible to create a calcs or xcalcs script that I can run against the directory so that all the files contained within will inherit the rights of the directory?
ASKER CERTIFIED SOLUTION
Avatar of Kieran_Burns
Kieran_Burns

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
SOLUTION
Avatar of Speshalyst
Speshalyst
Flag of India image

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