lkml.org 
[lkml]   [1997]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Filesystem: New files and directories inheirit group of their parent dir
Hello!

In article <9707081228.AA12341=aeb@violet.cwi.nl> you write:
>Scott Tadman:

>: FreeBSD has an interesting filesystem feature that I like: When you create
>: files and directories inside an existing structure, the group of the directory
>: you are creating the file/directory in is applied to the new file/directory.
>
>: I've been looking for a patch for Linux which offers the same functionality,
>: yet it doesn't seem to be out there.

>Maybe because no patch is required and it just works out-of-the-box?
>Read mount(8), especially the part on ext2 mount options.

chmod g+s <the directory/ies to have BSD like behaviour>

Regards, Felix.

(Or the appropriate mount option, if you want it generally)

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.119 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site