Re: How to change users rights for a symboliked file.
I mean to say from the man page: -h If the file is a symbolic link, change the mode of the link itself rather than the file that the link points to. -- /Xian "Anyone who has never made a mistake has never tried anything new." Albert Einstein ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to change users rights for a symboliked file.
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]"