/tmp sticky bit differences on FreeBSD 8

Leandro Quibem Magnabosco leandro.magnabosco at fcdl-sc.org.br
Wed Sep 16 20:47:25 UTC 2009

   Artis Caune escreveu:

2009/9/16 Matthew Seaman [1]<m.seaman at infracaninophile.co.uk>:

On FreeBSD 6,7 files are created with wheel group, but on 8 - with `gid`.

It seems that ZFS uses SysV group semantics (new files get the 1ary group of
the user unless the directory is set to SGID).  UFS filesystems on 8.x still
behave in the expected BSD way (new files get the same group as the
directory unless the user is not a member of that group, when they get the
users' 1ary group).

There's a thread 'ZFS Group ownership'  on this topic in freebsd-hackers at ...
at the moment.

hmm, I use ZFS on FreeBSD 7, but still get wheel group and not egid.

   Maybe you did a chmod g+s dir...
   Check that, maaaaybe it has something to do to what's happening to
   Otherwise, it might be something implemented only on v7.
   Leandro Magnabosco.


   1. mailto:m.seaman at infracaninophile.co.uk

More information about the freebsd-questions mailing list