File create permissions, what am I missing?

Greg Black gjb at gbch.net
Sat Aug 13 23:12:07 GMT 2005


On 2005-08-13, João Carlos Mendes Luís wrote:
> Brooks Davis wrote:
> > On BSD systems, the group of a file is always the group of the directory
> > it is in.  This differs from SysV UNIX.  The resident grey-beard at work
> > feels this is a new and annoying behavior. (i.e. it wasn't always this
> > way. :)
> 
> So this is expected behavior?  Isn't this someway insecure?

It is documented behaviour (see open(2) for details).  How is it
insecure?

Greg


More information about the freebsd-hackers mailing list