Jump to content

SetACL problem


Recommended Posts

Hello - is anyone out there using SetACL utility to manage access rights/folder/file permissions? I'm trying to set permissions for a folder, but i'm getting this error:

SetACL finished with error(s):
SetACL error message: The SID for a trustee could not be found

The invoked command is:

SetACL.exe -on "C:\Documents" -ot file -actn ace -ace "n:tester;p:full"

I'm trying to set full access permission for local user "tester" on folder C:\Documents and it gives me the above error.

Also, I'd like ask how do you people manage/set folder/file permissions - using setacl utility, using other tool or you don't have to change any permissions when doing unattended installations?

Edit: Hm, it works fine for local user such as this "tester", but doesn't work once i use domain user/group. Ie. originally i was trying to set the permission on that folder for user "tester" in domain "work", so the command would look like:

SetACL.exe -on "C:\Documents" -ot file -actn ace -ace "n:work\tester;p:full"

Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...