info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Bad files perms


From: GOMEZ Henri
Subject: RE: Bad files perms
Date: Fri, 1 Feb 2002 16:16:13 +0100

>Initially:
>find $CVSROOT -type d | xargs chmod g+s
>
>I forget whether SGID is inherited by new
>subdirectories.  If not, have a loginfo script set it.

What do you means by Initially ?

---

loginfo

DEFAULT find $CVSROOT -type d | xargs chmod g+s

----

Thanks 

PS: Did you do a 24/24 - 7/7 hot line ? Better than commercial companies
>
>Noel
>--- GOMEZ Henri <address@hidden> wrote:
>> >> The problem is that each time a cvs user like bob
>> commit
>> >> a file or directory, like test in prj1, 
>> >> the file is bob:bob instead of bob:cvsusers 
>> >
>> >You need to set the SGID bit on all the repository
>> directories (chmod
>> >g+s).  That causes newly created files and
>> directories to get their
>> >group ownership from their parent directory rather
>> than from the
>> >creating process.
>> 
>> Did there is an easy way to propagate the SGID bit
>> to sub-dirs ?
>> 
>> ie:
>> 
>> /home/cvsroot/testproj is owned by bob:cvsusers with
>> SGID bit set
>> 
>> linda commit test.java
>> 
>> /home/cvsroot/testproj/test.java will be owned by
>> linda:cvsusers
>> 
>> now linda create a subdir packa
>> 
>> /home/cvsroot/testproj/packa is owned by linda:linda
>> !
>> 
>> Thanks for your expertise here also :)
>> 
>> BTW: May be there is post-commit hack which could be
>> used ?
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Info-cvs mailing list
>> address@hidden
>> http://mail.gnu.org/mailman/listinfo/info-cvs
>
>
>__________________________________________________
>Do You Yahoo!?
>Great stuff seeking new owners in Yahoo! Auctions! 
>http://auctions.yahoo.com
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]