Hi Timur,
On Wed, Dec 19, 2001 at 10:10:33AM -0500, Timur Aydin wrote:
> Hi,
>
> When I import a new project into the CVS repository, both the owner and
> group of all files are set to my username. This causes trouble, because when
> somebody else wants to check out this project, he gets permission denied
> errors. I guess if I manually change the group of all files to "cvs", then
> things work again. But I couldn't find any statement in the documentation
> that says you have to manually chgrp new projects to "cvs". You do that only
> after cvs init...
>
> So, is it necessary to chgrp to "cvs" every new project that I add to the
> repository?
It's not necessary if you set your repository up correctly. My
repository has the following permissions:
$> ls -ld /var/cvs
drwxrwsr-x 16 root cvs 4096 Dec 19 15:34 /var/cvs
The g+s bit ensures that files created retain the group 'cvs'.
ie:
$> ls -l /var/cvs
drwxrwsr-x 4 crafterm cvs 4096 Dec 4 12:57 project1
drwxrwsr-x 4 crafterm cvs 4096 Dec 1 14:43 project2
drwxrwsr-x 4 crafterm cvs 4096 Dec 3 17:51 project3
Anyone in the cvs group should then have sufficient permissions to
access/modify these files.
Hope that helps.
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&' Email : [EMAIL PROTECTED]
&&&&. Business Hours : +49 69 9757 200
&&&&&&&:
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs