Add Security Permissions to "Folder". In "CREATOR OWNER" and "TrustedInstaller" using cacls/icacls/setacls or any other utility
Permissions to Trusted installer and Creator Owner is headache. Tried few commands but unsuccessful.
Following permissions to folder as shown below.
Note- Both of the groups (Trusted installer and Creator Owner) already exist in this case.
Thanks.
4 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
akki
9 years ago
Top Answer
To establish this, the steps to follow are:
1. Set ownership of the folder "C:\Program Files (x86)\Sybase\" to required user e.g. "CREATOR OWNER" or "Administrator".
eg. - icacls "C:\Program Files (x86)\Sybase\" /setowner "Creator Owner" /T
2. Only after setting an owner to the folder, one can apply the permissions to that particular user using either SetACL or iCacls.
e.g. - icacls "C:\Program Files (x86)\Sybase\" /grant:r "Creator Owner":(OI)(CI)F
Hope it clarifies your doubts.
1. Set ownership of the folder "C:\Program Files (x86)\Sybase\" to required user e.g. "CREATOR OWNER" or "Administrator".
eg. - icacls "C:\Program Files (x86)\Sybase\" /setowner "Creator Owner" /T
2. Only after setting an owner to the folder, one can apply the permissions to that particular user using either SetACL or iCacls.
e.g. - icacls "C:\Program Files (x86)\Sybase\" /grant:r "Creator Owner":(OI)(CI)F
Hope it clarifies your doubts.
Comments:
-
-
it works....thanks.. - santosh250201 9 years ago
Please remove the 'AutoIT' and 'WSE' tags from your post. They are irrelevant. - anonymous_9363 9 years ago
takeown /f <Foldername> /r /d y
Result- success
2. After that tried to give permission to "Trusted installer" using following:
cacls "folder" /t /e /c /g "NT SERVICE\TrustedInstaller":F
Result- "The data is invalid." - akashrayban 9 years ago