Re: Directories created in /tmp are owned by group root
On Sat, Mar 03, 2012 at 12:47:10PM +0000, Javi Merino wrote:
> In kfreebsd-* buildds and porterboxes, directories created in /tmp are
> owned by group root. In linux-* buildds and porterboxes they are
> owned by the "Debian" group.
> vicho@asdfasdf:/tmp$ mkdir test
> vicho@asdfasdf:/tmp$ ls -ld test
> drwxr-xr-x 2 vicho root 512 mar 3 13:44 test
> mercurial's testsuite fails because of this and, though I've fixed it
> to change the group of the directory after creating it, I was
> wondering why is this?
This is the default behaviour in FreeBSD: a newly created file or
directory has the same group as the parent directory.
Aurelien Jarno GPG: 1024D/F1BCDB73