[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] sgid bit ignored on patch creation
From: |
Andrew Suffield |
Subject: |
Re: [Gnu-arch-users] sgid bit ignored on patch creation |
Date: |
Fri, 21 May 2004 14:34:38 +0100 |
User-agent: |
Mutt/1.5.6i |
On Thu, May 20, 2004 at 03:07:29PM -0500, Robert Anderson wrote:
> I posted this problem awhile back and got no response. I'll try
> again:
>
> Here is a version directory in one of my archives:
>
> drwxrws--- 49 rwa mygroup 4.0K 2004-05-20 11:58
> cat--branch--1.0
>
> (names changed to protect the guilty.)
>
> Notice the "s" in the group permissions. My understanding is
> that this forces dir and file creation within this directory to
> inherit the group of this directory, i.e., mygroup. (Is that
> correct?)
>
> When I commit patches to this archive in the normal way, I get:
>
> cd cat--branch--1.0
> ls -l
> ...
> drwxrwx--- 2 rwa mygroup 4.0K 2004-05-20 11:50
> patch-44/
> drwxrwx--- 2 rwa rwa 4.0K 2004-05-20 11:58 patch-45/
> drwxrwx--- 3 rwa rwa 4.0K 2004-05-20 11:58 patch-46/
>
> I just committed patch-45 and patch-46. They have my usual
> default group, and not the group of the parent directory.
>
> If I now do:
>
> mkdir newdir
>
> It comes up as:
>
> drwxrws--- 2 rwa mygroup 4096 2004-05-20 12:04 newdir/
>
> i.e, with the expected group.
>
> What is going on here and how do I fix it?
The next changeset directory is the +contents directory in
++revision-lock, iirc; nothing is created at the level you're looking
at. chgrp those two and set their setgid bits.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature