Setting NTFS permissions

  • Thread starter Thread starter ApK
  • Start date Start date
A

ApK

Hello,

We're trying to programmatically set file permission.

As a test we tried the script decscribed in this link:

http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q2
66/4/61.ASP&NoWebContent=1

It works fine on all out development systems, and even on
our personal machines, but at our user's site, they get an
error on the last line ("sec.SetSecurityDescriptor sd")
that says "The security ID structure is invalid."

We're all running on Win2K boxes in Win2k domains.

I can find no explaination of that error message, other
then that it does actually exist...any ideas?

Thanks!

ApK
 
Back
Top