Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 22:21:11 +0300
From:      Artis Caune <artis.caune@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   /tmp sticky bit differences on FreeBSD 8
Message-ID:  <9e20d71e0909161221i432edd65s9dac7e0da7c2fdc9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

can someone point me to what has changed in file creation modes in
/tmp directory?

# FreeBSD 6, 7:
$ cd /tmp; id; touch testfile; mkdir testdir; ls -la
uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
drwxr-xr-x   2 nobody  wheel   2 Sep 16 22:10 testdir
-rw-r--r--   1 nobody  wheel   0 Sep 16 22:10 testfile


# FreeBSD 8:
$ cd /tmp; id; touch test; ls -la test
uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
drwxr-xr-x   2 nobody  nobody   2 Sep 16 22:12 testdir
-rw-r--r--   1 nobody  nobody   0 Sep 16 22:12 testfile


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




-- 
Artis Caune

    Everything should be made as simple as possible, but not simpler.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e20d71e0909161221i432edd65s9dac7e0da7c2fdc9>