On Mi, 22 sep 21, 08:37:42, Andrei POPESCU wrote: > On Mi, 22 sep 21, 00:15:48, Paul M. Foster wrote: > > > However, I did just read an excellent explanation of the setgid bit, which > > apparently, sets the GID of a created file to that of the directory, rather > > than the file's creator. This might work. I haven't tested it yet. > > It works, but it's a pain to setup, because it still needs umask 002 for > all users and there are so many places to change the umask. > > This might sound like heresy, but depending on your storage and > permissions needs it is much easier to use a NTFS[1] partition as the > backend, because you can enforce correct permissions and file/directory > masks via mount options. > > I'd be happy to learn about a comparable alternative.
On a quick look bindfs (mentioned elsewhere in the thread) appears to be able to do this for any file system supported by the underlying operating system. The performance might even be better compared to NTFS (which also needs FUSE for write access). Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature