SLUG Mailing List Archives
Re: [SLUG] mkdir
- To: Glen Turner <gdt@xxxxxxxxx>
- Subject: Re: [SLUG] mkdir
- From: Cal Edwards <edencane@xxxxxxxxx>
- Date: Fri, 17 Feb 2012 09:43:40 +1030
- Cc: slug@xxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eeJOuc8qSB3Z3xIS9AMIoduiix8G+/xbmhA2jMMzOeo=; b=vq1PcB7L5LODeydVBnnloZ2BGCk/gqj96t8CfmW7CwyyrWfFP0U7JuOTRF2mvIpLTa ybHQaM1Ktf+v17UJp8Z5ijQUlS85G9a/Dp7dFsG+IsUiLgiKLgBnLRbPyPUYPGg6MoXi f+hH/V/H8WPCZIUGEyQ/Uw0bCp2MjiS4EqO0k=
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