info-cvs
[Top][All Lists]
Advanced

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

Re: newbie question - specifing a group name for CVS to use on add/impo


From: Noel L Yap
Subject: Re: newbie question - specifing a group name for CVS to use on add/import
Date: Thu, 19 Oct 2000 09:44:40 -0400

Set the GID bit on the repository directories using "find $CVSROOT -type d |
xargs chmod g+s" (assuming your CVSROOT is set locally, of course).  Doing so
will cause all new elements within the directory to have the group of that
directory rather than the group of the user (assuming the user belongs to the
group of the directory).  man chmod for more info.

Noel




address@hidden on 2000.10.19 08:58:53

To:   address@hidden
cc:   (bcc: Noel L Yap)
Subject:  newbie question - specifing a group name for CVS to use on add/import




Hi all,

I'm new to CVS and also to this list so if this is a really obvious
question that's answered in a FAQ somewhere can someone let me know
where the FAQ is :)

We've got CVS installed and working fine on a Linux server and we have
clients (WinCVS) on NT machines. The problem we have is that we have to
manually do a chgrp on all new directories/files added to a repository.
If we don't do this, only the person who added the files in that
directory can edit files located in that directory. the error we get is
permission denied.

After doing a chgrp on the repository to a group the users belong to
everything works fine. Am I missing some obvious configuration setting
to tell CVS which group name to use when creating files/directories in
the repository.

current setup:
- CVS server using pserver authentication on the Linux machine
  (standard /etc/passwd entries) version 1.11 downloaded, not built
locally.
- clients are WinCVS version 1.0.6 and the only cvs version option it
has
  is 1.10. I assume there were no big protocol changes between 1.10 and
1.11 :)
- clients have a CVSROOT like this address@hidden:/home/cvsroot
  (The :pserver: bit gets added by WinCVS as it makes the connection)
- inetd.conf entry is:
  2401 stream tcp nowait /usr/bin/cvs cvs --allow-root=/home/cvsroot
pserver

After importing/adding a file its permissions are as expected -r--r--r--
directory permissions are drwxrwxr--. The username *and* group name are
those of the person who imported/added the files/directories. I would
have expected the group name to be an actual group name rather than the
username.

Any help would be appreciated as its a little tedious to do these
chgrp's

Regards,
Sam Joyce.


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.




reply via email to

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