Re: Maintaining group ownership of new files
Ext2/ext3 filesystems have built-in support for this behavior, but it's
not turned on by default in debian. Remount your filesystems with the
bsdgroups option. This is a lot cleaner than trying to maintain setgid
bits on all your directories and messing with umasks, which aren't
honored by all applications.
See the manpage for mount for more details.
On Sunday 24 October 2004 10:21 pm, Upayavira wrote:
> I've used a freeBSD server where, when a file is created, that file
> becomes owned by the group who owns the containing folder.
> However, I cannot seem to make this happen on a Debian box. Anyone
> know how?
> Basically, I want to 'partition' a server using Unix groups. If a
> member of a group creates, uses modifies a file, that file is usable,
> modifiable, by other members of their group.
> I of course will be a member of all of these groups.
> Any ideas how to make this happen?
> Regards, Upayavira