[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help Required in CVS
From: |
Todd Denniston |
Subject: |
Re: Help Required in CVS |
Date: |
Tue, 21 Jun 2005 08:49:12 -0500 |
Please don't use HTML in email to mail lists.
> 1) I have migrated my cvs server to new box which is fedora core 3.
>
> I've copied all the modules as it is to new box.
>
> Now, I've setup several access control on modules.
>
> The problem is, I want to setup setgid bit on one module
> including all of its sub-directories (only).
>
> But if I use -R option it also applies setgid bit on all
> files . I know it'll not make any sense for files.
>
> But it's not possible for me to apply it on each and
> every sub directory as it's a big tree and having
> around 200 subdirectories.
>
> Please tell me how can apply setgid to directories only?
instead of using chmod/chown -R, I use find+xargs
`cd repo; find . -type d|xargs chmod g+swr`
BTW if this was not something you just started doing, tar could have
preserved the permissions you had on the repo in the past if you gave it the
`-p` option while untaring.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter