summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-01-12 14:48:30 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-01-12 14:48:30 +0000
commit6bea2212f549c5e9a66c1b71f078b0ca5924834c (patch)
tree494c6104fb384945afec92f24eb8373462127de2 /net-dialup/ppp/files
parentpatch exclusion for sparc, it's b0rked (diff)
downloadgentoo-2-6bea2212f549c5e9a66c1b71f078b0ca5924834c.tar.gz
gentoo-2-6bea2212f549c5e9a66c1b71f078b0ca5924834c.tar.bz2
gentoo-2-6bea2212f549c5e9a66c1b71f078b0ca5924834c.zip
resolv.conf permissions again
Diffstat (limited to 'net-dialup/ppp/files')
-rw-r--r--net-dialup/ppp/files/2.4.2b3/ip-down4
-rw-r--r--net-dialup/ppp/files/2.4.2b3/ip-up4
2 files changed, 4 insertions, 4 deletions
diff --git a/net-dialup/ppp/files/2.4.2b3/ip-down b/net-dialup/ppp/files/2.4.2b3/ip-down
index 767aafbea610..86b748dfbecf 100644
--- a/net-dialup/ppp/files/2.4.2b3/ip-down
+++ b/net-dialup/ppp/files/2.4.2b3/ip-down
@@ -17,8 +17,8 @@ if [ "$USEPEERDNS" ]; then
/bin/mv -f /etc/resolv.conf.old /etc/resolv.conf
# Change perms because it b0rked kppp
- chmod 640 /etc/resolv.conf
- /bin/chown root:users /etc/resolv.conf
+ /bin/chmod 640 /etc/resolv.conf
+ /bin/chown --no-dereference root:users /etc/resolv.conf
fi
diff --git a/net-dialup/ppp/files/2.4.2b3/ip-up b/net-dialup/ppp/files/2.4.2b3/ip-up
index e7ce165494d1..c280726fb0de 100644
--- a/net-dialup/ppp/files/2.4.2b3/ip-up
+++ b/net-dialup/ppp/files/2.4.2b3/ip-up
@@ -18,8 +18,8 @@ if [ "$USEPEERDNS" ]; then
/bin/cat /etc/ppp/resolv.conf >> /etc/resolv.conf
# Change perms because it b0rked kppp
- chmod 640 /etc/resolv.conf
- chown root:users /etc/resolv.conf
+ /bin/chmod 640 /etc/resolv.conf
+ /bin/chown --no-dereference root:users /etc/resolv.conf
fi