468,257 Members | 1,429 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,257 developers. It's quick & easy.

Creating a FileSystemSecurityRule for CREATOR OWNER

Hi,

I am trying to programatically add a FileSystemAccessRule for CREATOR
OWNER to the filesystemsecurity obj of a folder whose creator and owner
is a user account say 'SomeUser'. The rule gets created and added
without errors. After I have set the security descriptor I notice that
2 ACEs have been added. One for CREATOR OWNER with the specified rights
and apply to set to 'Subfolder and files' and another for
'Administrators' with the specified rights and apply to set to 'This
folder only'. I was expecting the 2nd ACE to be set for 'SomeUser' and
not 'Administrators'. If I do a FileSystemSecurity.GetOwner i get
'SomeUser'
Then why is the 2nd rule being set for 'Administrators'?

My code is executed with Administrator/SYSTEM privileges.

Does some one know why the CREATOR OWNER rule is behaving like this and
how to get the expected results?

Thanks,
Roshan

Jun 16 '06 #1
0 1195

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Dim St Thomas | last post: by
6 posts views Thread by kai rosenthal | last post: by
3 posts views Thread by alan | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.