From owner-freebsd-fs Sat Sep 15 10:56:43 2001 Delivered-To: freebsd-fs@freebsd.org Received: from moya.lambermont.dyndns.org (e165253.upc-e.chello.nl [213.93.165.253]) by hub.freebsd.org (Postfix) with ESMTP id 75B7437B40B for ; Sat, 15 Sep 2001 10:56:39 -0700 (PDT) Received: by moya.lambermont.dyndns.org (Postfix, from userid 1001) id 6416F3642E; Sat, 15 Sep 2001 19:56:38 +0200 (CEST) Date: Sat, 15 Sep 2001 19:56:38 +0200 To: freebsd-fs@FreeBSD.ORG Subject: Re: symlink modes (once again probably) Message-ID: <20010915195638.B90565@moya.lambermont.dyndns.org> References: <20010915123753.A90565@moya.lambermont.dyndns.org> <20010915142038.A54127@hades.hell.gr> <20010915090636.A13259@wjv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010915090636.A13259@wjv.com>; from bill@wjv.com on Sat, Sep 15, 2001 at 09:06:36AM -0400 From: hans@lambermont.dyndns.org (H) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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