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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.