Subject: chmod & symlink broken in 1.6
To: None <tech-kern@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-kern
Date: 10/29/2002 14:15:21
shouldn't chmod on a symlink change the permission of the file (dir, ...)
the link points to? At least with 1.6/i386 it doesn't do so.
(Works fine on Solaris, as expected...)
- Hubert
yui# cd /tmp
yui# touch file
yui# ln -s file link
yui# ls -la file link
-rw-r--r-- 1 root wheel 0 Oct 29 14:11 file
lrwxr-xr-x 1 root wheel 4 Oct 29 14:12 link -> file
yui# chmod 777 link
yui# ls -la file link
-rw-r--r-- 1 root wheel 0 Oct 29 14:11 file <==== !!?
lrwxr-xr-x 1 root wheel 4 Oct 29 14:12 link -> file
--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/