Date: Fri, 11 Dec 1998 21:37:41 -0500 (EST) From: "Mark W. Krentel" <krentel@dreamscape.com> To: freebsd-stable@FreeBSD.ORG Subject: file modes in CVS repository Message-ID: <199812120237.VAA05729@dreamscape.com>
next in thread | raw e-mail | index | archive | help
I'm wondering about the permissions on files checked out of the CVS
repository from Attic directories. I noticed this while updating
my /etc files from 2.2.7 to 2.2.8. In my repository, everything
in /home/ncvs/src/etc/Attic has mode 0444, so /usr/src/etc/daily,
weekly, and monthly checked out as 0644. I updated /etc with these
new versions, and thus they didn't have execute permission.
Well, OK, it was easily fixed. But I am concerned that there may
be other shell scripts that have the wrong permissions.
1. First, cvs does use the mode of the ,v file to set the mode
of the checked out file?
2. Should /home/ncvs/src/etc/Attic/daily have mode 0444?
Is this generally true of Attic files?
Or, is my repository messed up?
3. Does cvsup check and set the modes on ,v files when fetching
the entire repository? (And thus whatever the permissions are,
they originate from the master repository?)
I don't think I'm doing anything odd with my repository. I'm using
cvsup 15.4.2 with this cvsup file:
*default prefix=/home/ncvs
*default base=/var/cvsup
*default host=cvsup3.freebsd.org
*default delete use-rel-suffix compress
cvs-all release=cvs
--Mark Krentel
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812120237.VAA05729>
