On Thu, May 28, 2015 at 02:40:24PM +0200, n.reu...@hxgn.net wrote: > Hi misc@, > > i just discovered that on BSD, a file inherits the group permissions from > the directory it is created in (contrary to Linux, which uses the default > group of the user). > > But i failed to find more information on that topic in the man pages > (chmod, chgrp, chown, touch, chflags) or the FAQ, just Otto@ replying on > misc [1]. > > Is this expected to be known, or does this information exist somewhere in > the documentation? > > Regards > Nils > > [1] http://marc.info/?l=openbsd-misc&m=138132909225790&w=2
Yes, it is how it should work, no sgid needed. j.