On Wednesday 23 December 2009 15:46:57 Glen Barber wrote: > On Wed, Dec 23, 2009 at 7:43 PM, Mel Flynn > > <mel.flynn+fbsd.questi...@mailing.thruhere.net> wrote: > >> What does 'file /home' say? > > > > It is a symlink. What you really want to see is ls -l /home/. Note the > > trailing slash. > > It _should_ be a symlink, which is what I am getting at.
No, it _is_ a symlink. ls says so: On Wed, Dec 23, 2009 at 6:40 PM, Rem P Roberti <remeg...@comcast.net> wrote: > lrwxr-xr-x 1 root wheel 8 Dec 18 12:08 /home -> usr/home ^ ^^^^^^^^^^^ The only thing file is gonna tell you that the symlink might be broken. # ls -l total 1 lrwxr-xr-x 1 root wheel 8 Dec 23 16:50 home -> usr/home drwxr-xr-x 3 root wheel 3 Dec 23 16:50 usr # ls -ld home/. drwxr-xr-x 2 root wheel 2 Dec 23 16:50 home/. # file home home: symbolic link to `usr/home' # chmod 000 usr/home # ls -ld home/. d--------- 2 root wheel 2 Dec 23 16:50 home/. # file home home: symbolic link to `usr/home' As you can see, file don't tell you much, while using ls -ld on the target will immediately show the problem. -- Mel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"