[Mono-dev] Support for XmlSerializationReader.CollapseWhitespace & ReadTypedNull

Sebastien Pouliot sebastien.pouliot at gmail.com
Mon Sep 29 14:24:20 EDT 2008


On Mon, 2008-09-29 at 13:28 -0400, Jonathan Pryor wrote:
> On Sat, 2008-09-27 at 12:15 +0900, Atsushi Eno wrote:
> > > FileSecurity File.GetAccessControl(string)
> > > void FileSystemSecurity.AddAccessRule(FileSystemAccessRule)
> > > void FileSystemSecurity.AddAccessRule(FileSystemAccessRule)
> > > void File.SetAccessControl(string, FileSecurity)
> > 
> > It is Windows-only ACL things.
> 
> There's no way these could be mapped to POSIX ACLs [0]?
> 
> >From a cursory glance at FileSystemAccessRule and FileSystemRights, it
> looks like at least a partial mapping could be done between Windows ACLs
> and POSIX ACLs...

A partial mapping could be done, but at their roots they are pretty
different in their details. Anyway I don't think its worth it for two
reasons:

1) Applications, under Windows, must deal with file systems (e.g. FAT)
that does not support ACL. In their world you either have them or not.
Providing a partial solution would cause compatibility issues for some
applications.

2) Applications using ACL generally have good reasons for using them.
Providing something similar, but not identical, could also prove a
bigger problem that not supporting them.

Of course I'd love to be prove wrong with a working patch :-)

Sebastien

>  - Jon
> 
> [0] http://www.suse.de/~agruen/acl/linux-acls/online/
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list