This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ntsec a mount option?


On Mon, Jul 14, 2008 at 07:53:50PM +0200, Corinna Vinschen wrote:
>On Jul 14 13:28, Christopher Faylor wrote:
>> On Mon, Jul 14, 2008 at 06:30:37PM +0200, Corinna Vinschen wrote:
>> >On Jul 14 18:26, Corinna Vinschen wrote:
>> >> Hi,
>> >> 
>> >> 
>> >> this weekend it occured to me that the global "allow_ntsec" setting is
>> >> rather non-granular.  Given that ntsec is only used for file access
>> >> anyway, wouldn't make it much more sense to remove the CYGWIN option
>> >> "ntsec" and define a mount option "acl"/"noacl" as on ext2 under Linux
>> >> instead?
>> >
>> >This would also get rid of "smbntsec".  "acl" could be default on
>> >local NTFS and remote NTFS/NFS, "noacl" would be only option for
>> >FAT and could be default for Samba shares.
>> 
>> That sounds like a good idea to me.  That would mean regularizing the
>> way we handle this type of thing so that it was possibly a bit mask in
>> the path_conv structure.  It would complicate the path parsing logic a
>> little but I think it's worth it for the flexibility.
>
>I implemented this already locally, following the "acl is always
>default" idea.  It simplified the code throughout and just added the
>mount options and two flags (MOUNT_NOACL/PATH_NOACL).

FWIW, I love the idea of adding this stuff as mount options.  At some point
I'd like to remove the special case handling of /cygdrive and make it just
another mount option too.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]