[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Directories created in /tmp are owned by group root



On Sat, Mar 03, 2012 at 03:41:05PM +0100, Aurelien Jarno wrote:
> On Sat, Mar 03, 2012 at 12:47:10PM +0000, Javi Merino wrote:
> > Hi,
> > 
> > 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
> > vicho@asdfasdf:/tmp$ 
> > 
> > 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.

Fair enough, I'll tell upstream and hopefully it will help getting my
hacky patch accepted.

Thanks,
Javi

Attachment: signature.asc
Description: Digital signature


Reply to: