Hi All,
Q. I want to know what rights a user has on a file on NTFS file system.
Problem is ACCESS_ALLOWED_ACE.Mask for the ACCESS_ALLOWED_ACE.SidStart which
is same as a user’s SID gives a weird number. The ACCESS_MASK has only
READ_CONTROL or SYNCHRONIZE set. The specific rights are not documented.
How do I know the plain, simple rights a user has on a file?
Q. How do we set a user as an owner of a file?
With SetSecurityDescriptorOwner() we can only set the currently logged-on
user as owner.
Thanks in advance,
Dinker Charak
Software Engineer, Open Systems Group
DCM Technologies, India
http://www.dcmtech.com
The opposite of a correct statement is a false statement. But the
opposite of a profound truth may well be another profound truth.