On Thursday 21 December 2006 10:16, Halid Faith wrote:
> I use Freebsd6.1.
>
> I want to give a symbolic link for a directory with ln -s as below;
>
>
> cd /
>
> ln -s /var/tmp/  tmp2
>
> ls -l /var/tmp
> lrwxr-xr-x   1 root  wheel       14 Dec 21 10:12 tmp -> /var/tmp
>
> I change write of user and group but i can't that.
> chmod 777   tmp2
>
> ls -l  tmp2
> lrwxr-xr-x   1 root  wheel       14 Dec 21 10:12 tmp -> /var/tmp
>
> Why don't I able to change user rights of tmp2 ?

I think you need the -h option to chmod. From the man page:

-- 
/Xian

"Knowledge speaks but wisdom listens"
Jimi Hendrix
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to