- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] mkdir
- From: Cal Edwards <edencane@xxxxxxxxx>
- Date: Fri, 17 Feb 2012 09:39:52 +1030
- 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 :content-type; bh=EJtpCgtSYp7bYg17vuBOU8SqoUgsoBZzsohhFXOa4+Q=; b=CcUCWEXA6a0E8TUcdar2cHt/L3afb33qH+fi3f3zEHOheFmNxdPwFOONWskyhpS7F3 8Na8dBNlRBfwx96UJZ2Kd1ACGAt1skX0AhgjUnujkOvat36UU1WqFlnlqF3G83NFIPga 1xGJeEXboc/jZcjsZeYbZzMO6COT6sqsbUVUQ=
Hi.
> try
> chmod 2775 topdir
> that will set the permissions on the subdir correctly without doing a
> chown.
>
> consider setting the primary group to be the same accross the whole
> family. that way whenever a file is created it will be the correct group.
This does what I wanted.
It maintains the ownership when I create directories and files.
I already had the primary group the same across the whole family.
Thanks.