Date: Fri, 22 Dec 2006 21:55:08 +0000 From: Xian <ian@codepad.net> To: freebsd-questions@freebsd.org Subject: Re: How to change users rights for a symboliked file. Message-ID: <200612222155.08506.ian@codepad.net> In-Reply-To: <06c401c724e9$044725e0$dc96eed5@ihlasnetym> References: <06c401c724e9$044725e0$dc96eed5@ihlasnetym>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612222155.08506.ian>