From owner-freebsd-bugs Sun Sep 8 11:50: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF4E037B400 for ; Sun, 8 Sep 2002 11:50:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E90743E3B for ; Sun, 8 Sep 2002 11:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g88Io4JU087773 for ; Sun, 8 Sep 2002 11:50:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g88Io41k087772; Sun, 8 Sep 2002 11:50:04 -0700 (PDT) Date: Sun, 8 Sep 2002 11:50:04 -0700 (PDT) Message-Id: <200209081850.g88Io41k087772@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: conf/42550: installworld chmods /root and /mnt to 755 Reply-To: Giorgos Keramidas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/42550; it has been noted by GNATS. From: Giorgos Keramidas To: Vasil Dimov Cc: bug-followup@FreeBSD.org Subject: Re: conf/42550: installworld chmods /root and /mnt to 755 Date: Sun, 8 Sep 2002 17:24:10 +0300 In message: <20020908124720.53DD1AA0E@blok52.atlantis.bg> Vasil Dimov wrote: > > As soon as I run `make installworld' i get my /root and /mnt permissions > changed from 700 to 755. So every time after installworld I have to > restore them. Look at the file /usr/src/etc/mtree/BSD.root.dist. That's where the default permissions for /root and /mnt are kept. If you want to make local changes to files under /usr/src and still be able to use CVSup to update them, you can always make a collection of local patches in say /root/patches and apply them manually after CVSup'ing with a script similar to: #!/bin/sh cd /root/patches for fname in *.diff ;do cat "${fname}" |\ ( cd /usr/src ; patch -p0 ) done cd /usr/src find . -name \*orig | xargs rm - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message