[Mono-dev] FileSecurity or chmod

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Sun May 10 22:10:05 EDT 2009


Hello,

markohrastovec wrote:
> Is it possible to set permissions for the file with FileSecurity class? If
> yes. How? I will probably use for start system call to chmod
> (Mono.Unix.Native.Syscall.chmod) but I do not prefer this solution because I
> lose binary compatibility with windows.

No. System.Security.AccessControl (ACL based on Windows-ism) is not
supported. I don't think there is binary compatible cross platform
way to do it.

Atsushi Eno


More information about the Mono-devel-list mailing list