Windows File Resource Win32APIError: "The operation completed successfully"

Hi all. I am getting a strange error from a file resource on windows. What
I’m trying to do is add NT rights for a given user on some files and I get
a Win32APIError but the output says the command succeeded. See
gisthttps://gist.github.com/TheSultan/8140309 for
details.

Any ideas or debugging hints?

For posterity, the cause was TrustedInstaller owns this file so you have to
take ownership before setting permissions. The error message is terrible
though.

On Thu, Dec 26, 2013 at 7:04 PM, mis entropic entropic.mis@gmail.comwrote:

Hi all. I am getting a strange error from a file resource on windows. What
I'm trying to do is add NT rights for a given user on some files and I get
a Win32APIError but the output says the command succeeded. See gisthttps://gist.github.com/TheSultan/8140309 for
details.

Any ideas or debugging hints?