This list has been deprecated. Please subscribe to the new devel list at lists.nfs-ganesha.org. > This list has been deprecated. Please subscribe to the new devel list at lists.nfs- > ganesha.org. > It looks like umask is just an integer. As such, it should accept octal, hex, or > decimal input. It looks like there is residual code indicating that this once had > special parsing code, but none of that is left, and it's just parsed as an integer. > > Daniel
Yes, however the parser doesn't accept the commonly used method of specifying mode values. The parser pattern for an octal number is 0[1-7][0-7]* While mode bits are often specified like 0002. A simple fix is to change the parser pattern to 0[0-7][0-7]* I'll submit a patch for that. Frank > On 07/20/2018 09:51 AM, Chris Dos wrote: > > This list has been deprecated. Please subscribe to the new devel list at lists.nfs- > ganesha.org. > > I'm trying to set the Umask config option for VFS. Man page shows: > > umask(mode, range 0 to 0777, default 0) > > > > So I don't know what the mode should be. > > > > My export looks like this: > > EXPORT > > { > > # Export Id (mandatory, each EXPORT must have a unique Export_Id) > > Export_Id = 10; > > > > # NFS Protocols > > Protocols = 3,4; > > #Protocols = 3; > > > > # Transport > > Transports = UDP,TCP; > > > > # Transfer Size > > MaxRead = 65536; > > MaxWrite = 65536; > > PrefRead = 65536; > > PrefWrite = 65536; > > > > # Exported path (mandatory) > > Path = /netshares/10gig_storage; > > > > # Pseudo Path (required for NFS v4) > > Pseudo = /export/10gig_storage; > > > > # Required for access (default is None) > > # Could use CLIENT blocks instead > > Access_Type = RW; > > Squash = All; > > Anonymous_Uid = 6000; > > Anonymous_Gid = 6000; > > > > # Exporting FSAL > > FSAL { > > Name = VFS; > > Umask = 0002; > > } > > > > CLIENT { > > Clients = 172.28.133.0/24; > > } > > } > > > > > > Also, can the init script still be included with the Debian packages > > so the Devuan and other sysvinit users can use the packages without > > having to find the Debian 8 init script. > > > > Chris > > > > ---------------------------------------------------------------------- > > -------- Check out the vibrant tech community on one of the world's > > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Nfs-ganesha-devel mailing list > > Nfs-ganesha-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel > > > > > ---------------------------------------------------------------------------- -- > Check out the vibrant tech community on one of the world's most engaging tech > sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Nfs-ganesha-devel mailing list > Nfs-ganesha-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel