info-cvs
[Top][All Lists]
Advanced

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

Re: group permissions on parts of a module


From: Mark D. Baushke
Subject: Re: group permissions on parts of a module
Date: Wed, 04 Aug 2004 21:34:38 -0700

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

Joseph Shraibman <address@hidden> writes:

> ... Now the problem is that checkouts of certain
> files are failing because "Permission denied".
> These files are owned by a group that the user
> is a member of, but not the default group. Is
> there any way to get cvs to be smart about this
> and change its own gid?

Most folks either use an operating system that
lets the parent directory be the default group for
newly created files (eg, FreeBSD, NetBSD,
OpenBSD), or they use set-gid on the directory
which for many OS versions (Solaris, GNU/Linux,
HP/UX and a few others) does the same thing.

Failing that, have a crontab job run thru the tree
every so often and change the group for you.

I suppose another way around it would be to run
the cvs executable on your server as a set-gid
process. I don't recommend it unless you know what
you are doing.

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

iD8DBQFBEbje3x41pRYZE/gRAr7wAJ4ygpYc+LIA5MdSZMCsT8Iy9lUlrQCfZNoT
VpF50OAa7km/sqoxsScxPmc=
=0vhv
-----END PGP SIGNATURE-----




reply via email to

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