On Sun, Mar 30, 2003 at 03:11:18AM -0500, David Banning typed:
> 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;

Permissions on symbolic links are irrelevant. 
If you want to change them anyway, here's what you have to do:

# cd /usr/local/www/data/fax/
# rm chantelle
# umask 0
# ln -s /usr/chantelle/fax chantelle

Don't forget to change your umask back to something reasonable afterwards.

> 
> 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
> root# 
> 
> 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?
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to