Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2010 05:29:42 GMT
From:      Franklin Pierce <14th.president@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   www/143926: FAQ entry 16.3 out of date
Message-ID:  <201002140529.o1E5Tgka017970@www.freebsd.org>
Resent-Message-ID: <201002140547.o1E5lObt044473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143926
>Category:       www
>Synopsis:       FAQ entry 16.3 out of date
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 14 05:47:24 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Franklin Pierce
>Release:        8.0-RELEASE-p2 amd64
>Organization:
>Environment:
n/a
>Description:
The setion under 16.3 saying

"Symlinks do not have permissions, and by default, chmod(1) will not follow symlinks to change the permissions on the target file."

Is at odds with known behaviour and the relevant man(1) pages:  chmod(1) & symlink(7)

Also, the use of the word "target" is at odds with ln(1)
>How-To-Repeat:
touch foo
ln -s foo bar
ls -l
lrwxr-xr-x   1 user  group         3 Feb 14 00:23 bar -> foo
-rw-r--r--   1 user  group         0 Feb 14 00:23 foo
chmod go+x bar
ls -l
lrwxr-xr-x   1 user  group         3 Feb 14 00:23 bar -> foo
-rw-r-xr-x   1 user  group         0 Feb 14 00:23 foo
>Fix:
Symlinks do not have permissions, and by default, chmod(1) will follow symlinks to change the permissions on the source file, if possible.

>Release-Note:
>Audit-Trail:
>Unformatted:



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