Subject: Re: misc/6166: No obvious documentation on symlink modes
To: None <gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org, tv@netbsd.org>
From: Dave Sainty <dave@dtsp.co.nz>
List: netbsd-bugs
Date: 09/16/1998 20:23:11
tv@netbsd.org writes:
> Synopsis: No obvious documentation on symlink modes
>
> State-Changed-From-To: open-feedback
> State-Changed-By: tv
> State-Changed-When: Tue Sep 15 16:11:40 PDT 1998
> State-Changed-Why:
> The chmod(8) and chown(8) man-pages already describe how to change the modes.
> See the doc for the `-h' option.
> Or were you looking for something more specific?
It wasn't "how" to do it, but what it means.
If I go:
ln -s =sh y
chmod -h u+s y
ls -la y
I get:
lrws------ 1 dave user 7 Sep 16 10:00 y@ -> /bin/sh
Now, what does this mean?
Even if it means nothing at all (as I suspect it does), it would be
nice if this was documented, simply because it's disconcerting to see
an "s" there and not know if it does something :)
Dave