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 09:24:42 -0800

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

Oliver Lehmann <address@hidden> writes:

> > If you are using a UNIX or Linux client, you
> > should be able to use:
> > 
> >    umask 077
> >    cvs checkout module
> > 
> 
> The problem is, that it isn't generious 0700 some files are having other
> modes and so on... (each as restrictive as possible in that environment)

If you do not want write mode, then use

    umask 077
    cvs -r checkout module

This means that the only files that will have execute bits will be those
that have them in the repository. Files will be read-only and directories
will be "rwx" mode.

In all cases, there will be no 'group' or 'other' permissions on the
files and directories you have checked out of the repository.

Your initial problem statement seemed to indicate that this was all you
needed. If you need something else, you need to give examples of what
fails to be satisfied by this method.

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

iD8DBQFB/mnZ3x41pRYZE/gRAtsfAJ41oF5B4EEQeX2epYUE6aUsNGRYYwCgy2ss
lZwAswy8bhjJTVywKcRW/B8=
=0Z7A
-----END PGP SIGNATURE-----




reply via email to

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