I've written an application that examines all of the file system permissions on a directory.
A directory has a number of access rules (of type FileSystemAccessRule
).
Each access rule has a property FileSystemRights
, which is a flag enumeration.
When running this, I keep encountering a FileSystemRights
value of 268435456
(which comes to 0x10000000
in hexadecimal).
This value just doesn't appear in enumeration! It's actually higher than the highest single flag value (Synchronize
, having a value of 0x100000
).
Does anyone know what this is?
GENERIC_ACCESS
set in the wild. So your workaround only carries so far ... the .NET Framework is clearly not prepared to create ACEs which can full well occur in the wild (and by my observations can also be read by the respective classes). – Anchylose