Date: Sun, 8 Sep 2002 11:50:04 -0700 (PDT) From: Giorgos Keramidas <keramida@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/42550: installworld chmods /root and /mnt to 755 Message-ID: <200209081850.g88Io41k087772@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/42550; it has been noted by GNATS.
From: Giorgos Keramidas <keramida@FreeBSD.org>
To: Vasil Dimov <vd@etrade.bg>
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 <vd@etrade.bg> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209081850.g88Io41k087772>
