ntsec a mount option?

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jul 14 19:56:00 GMT 2008


On Jul 14 14:48, Christopher Faylor wrote:
> 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

Ok, cool, I'll apply my patch.

> I'd like to remove the special case handling of /cygdrive and make it just
> another mount option too.

Out of curiosity, how do you imagine that should look like in /etc/fstab?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list