Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2001 19:56:38 +0200
From:      hans@lambermont.dyndns.org (H)
To:        freebsd-fs@FreeBSD.ORG
Subject:   Re: symlink modes (once again probably)
Message-ID:  <20010915195638.B90565@moya.lambermont.dyndns.org>
In-Reply-To: <20010915090636.A13259@wjv.com>; from bill@wjv.com on Sat, Sep 15, 2001 at 09:06:36AM -0400
References:  <20010915123753.A90565@moya.lambermont.dyndns.org> <20010915142038.A54127@hades.hell.gr> <20010915090636.A13259@wjv.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Vermillion wrote:

> On Sat, Sep 15, 2001 at 02:20:38PM +0300, Giorgos Keramidas thus sprach:
> > hans@lambermont.dyndns.org wrote:
> > > The modes cannot be changed by chmod, but according to CHMOD(1)
> > > 'Symbolic links do not have modes' which appears not to be true.
> > > So perhaps this man page should be updated, or something else is
> > > broken.
> > Where does the manpage say that?
> In describes it like in my man pages directly after all the options.
> The date on the bottom of the page says March 31, 1994.

same date here.

> Physical dates on l */chmod in /usr/share man look like this
> 
> -rw-r--r--  1 man   wheel  2817 Sep  4 10:33 /usr/share/man/cat1/chmod.1.gz
> -rw-r--r--  3 man   wheel  2426 Mar 20  2000 /usr/share/man/cat2/chmod.2.gz
> -r--r--r--  1 root  wheel  3584 Sep  1 10:35 /usr/share/man/man1/chmod.1.gz
> -r--r--r--  3 root  wheel  3160 Sep  1 10:34 /usr/share/man/man2/chmod.2.gz

My 4.2-STABLE is even older:

  -rw-r--r--  1 man   wheel  2825 Jan 17  2001 /usr/share/man/cat1/chmod.1.gz
  -r--r--r--  1 root  wheel  3622 Dec  5  2000 /usr/share/man/man1/chmod.1.gz
  -r--r--r--  3 root  wheel  3168 Dec  5  2000 /usr/share/man/man2/chmod.2.gz

> > My manpage for chmod says:
> >      -h      If the file is a symbolic link, change the mode of the link
> >              itself rather than the file that the link points to.
> And it is not in mine.

Of course, it also is not in mine :o) Good that this is changed/fixed now.

And for the record (interesting mail mangling follows) :
Giorgos Keramidas wrote:

> > It would help if you mentioned which version of FreeBSD you're
> > running,

I did. I stated in my original mail that it is a '4.2-STABLE system'.

> > and when the chmod manpage you have was last updated.

Ah, I didn't expect this to be important.
'March 31, 1994' for my CHMOD(1).

> > A quote from the manpage would be nice too.

I did too, 'Symbolic links do not have modes' is a quote from my CHMOD(1)

I'm glad this (minor) problem is already resolved.

Hans
-- 
http://lambermont.webhop.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010915195638.B90565>