Setting NTFS permissions

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top