www/143926: FAQ entry 16.3 out of date

Franklin Pierce 14th.president at gmail.com
Sun Feb 14 05:47:25 UTC 2010


>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:


More information about the freebsd-www mailing list