Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] mkdir


Hi.

On Wed, Feb 15, 2012 at 8:44 PM, Glen Turner <gdt@xxxxxxxxx> wrote:

> Cal Edwards wrote:
> > I want to be able to create a new subdir and be sure that it has the same
> > ownership as topdir.
>
> It depends how the directory is created. If they use mkdir from the
> shell then the best you can do is to force the group to match the parent
> directory -- search for "sticky bit on directory". Even that might not
> give the group access, it depends on the user's umask.
>
> If they create the directory through Samba then there's no shortage of
> hooks to force directory ownerships and permissions. "man smb.conf"


Its me creating the directories and the sticky bit helped.
See my reply to Grant
Thanks.
Luke.