[KLUG Members] Directory Permissions Questions

Edward Killips members@kalamazoolinux.org
Wed, 23 Oct 2002 00:50:14 -0400


It works this way with FreeBSD. Linux requires a patch for it to work.

Ed

-----Original Message-----
From: members-admin@kalamazoolinux.org
[mailto:members-admin@kalamazoolinux.org]On Behalf Of Matt Scott
Sent: Tuesday, October 22, 2002 10:08 PM
To: members@kalamazoolinux.org
Subject: Re: [KLUG Members] Directory Permissions Questions


> I once heard of a certain way to chmod a directory so that any file
> created in that directory was automagically owned by the directory owner.
> Can somebody refresh me on how to do that?!
> Thanks...

While not exactly the same I know that in Linux anyway, turning on the
setgid bit for a directory makes sure that any newly created files are
owned by whatever group owns the directory.  I thought that maybe the
setuid bit would do what you wanted but after a little bit of
experimentation it isn't.  I can't figure out what a setuid directry
acutally does.

But anyway it looks like you can control group ownership in that way but
not user ownership. Maybe this is what you remember hearing about. Or
maybe I'm missing something.

Matt

_______________________________________________
Members mailing list
Members@kalamazoolinux.org