From owner-freebsd-stable Fri Dec 11 18:38:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03200 for freebsd-stable-outgoing; Fri, 11 Dec 1998 18:38:14 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from dreamscape.com (sA13-p44.dreamscape.com [209.4.255.108]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03194 for ; Fri, 11 Dec 1998 18:38:12 -0800 (PST) (envelope-from krentel@dreamscape.com) Received: (from krentel@localhost) by dreamscape.com (8.8.8/8.8.8) id VAA05729 for freebsd-stable@freebsd.org; Fri, 11 Dec 1998 21:37:41 -0500 (EST) (envelope-from krentel) Date: Fri, 11 Dec 1998 21:37:41 -0500 (EST) From: "Mark W. Krentel" Message-Id: <199812120237.VAA05729@dreamscape.com> To: freebsd-stable@FreeBSD.ORG Subject: file modes in CVS repository Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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