file permission baffle

David Banning david at
Sun Mar 30 00:11:37 PST 2003

I have these links from my web directory; 

root# cd /usr/local/www/data/fax/
root# ls -l

lrwxr-xr-x  1 root  wheel  18 Mar 29 16:37 chantelle -> /usr/chantelle/fax
lrwxrwxrwx  1 root  wheel  14 Mar 10 00:15 david -> /usr/david/fax

I can't change the permissions on them. It's because the permissions
are dependent on the linked directory right? Doesn't seem so;

root# ls -ld /usr/chantelle/fax
drwxrwxrwx  2 chantelle  wheel  512 Mar 30 02:26 /usr/chantelle/fax
root# ls -ld /usr/david/fax
drwxrwxrwx  2 david  wheel  512 Mar 30 02:40 /usr/david/fax

Even going further upstream doesn't show anything;

root# ls -ld /usr/chantelle
drwxr-xr-x  7 chantelle  wheel  1024 Mar 29 23:13 /usr/chantelle
root# ls -ld /usr/david
drwxr-xr-x  68 david  wheel  5632 Mar 29 22:23 /usr/david

I am having a problem writing to the top dir shown, (chantelle)
but not the following one (david).

Anyone understand this?

More information about the freebsd-questions mailing list