info-cvs
[Top][All Lists]
Advanced

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

Re: How to use cvs with a group of users and restrictive file perms


From: Mark D. Baushke
Subject: Re: How to use cvs with a group of users and restrictive file perms
Date: Mon, 31 Jan 2005 08:37:56 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Lehmann <address@hidden> writes:

> I would like to use cvs with a group of users.
> That fact alone is quiet easy to handle by doing
> what https://ccvs.cvshome.org/fom/cache/92.html
> says. The problem I have is, that the files I
> want to manage with cvs are having restrictive
> permissions like 0700 and so on. cvs adjusts
> those permissions and when I checkout the files
> I get 0755 for example (like the directory has
> where thoses files are stored in - group-setuid
> mode). That is really bad.... is there a way to
> tell cvs that I want my files with a special
> mode checked out? Or do you see any other ways
> of how to handle this?

If you are using a UNIX or Linux client, you
should be able to use:

   umask 077
   cvs checkout module

and have all of the files and directories checked
out by cvs be of the mode you seem to want.

If for some reason umask 077 is not possible, the
addition of a command like:

  cvs update module
  chmod -R go= .

would change the files and directories to have
permissions you want.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFB/l7k3x41pRYZE/gRAjykAJ47FiHp9zXoXrzNy3w7NPNElW2vSQCePdLW
Iq8VReFTdqupR+JmkPkyjtk=
=wyGF
-----END PGP SIGNATURE-----




reply via email to

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