ln -s doesn't work with a folder
as root if I do: ln -s /home/steve/Desktop/dogs /home/lynn/Desktop Then user lynn fires up kde, the link doesn't appear as a folder but an empty file icon. Root can see the link fine however. How can I make the link so that it works properly? SuSE 10.0 Thanks, Steve.
On 15-Apr-06 mail@steve-ss.com wrote:
as root if I do:
ln -s /home/steve/Desktop/dogs /home/lynn/Desktop
Then user lynn fires up kde, the link doesn't appear as a folder but an empty file icon. Root can see the link fine however.
How can I make the link so that it works properly? SuSE 10.0 Thanks, Steve.
I think you'll find it's a matter of permissions.
If (as user lynn) you do the simple console command
ls /home/lynn/Desktop
you will probably get "permission denied". Although
root owns the symbolic link, despite the link itself
having permissions rwxrwxrwx, when lynn tries to access
the folder linked to, lynn will come against the fact
that the true owner of it is steve. And this will remain
true even if root does
chown lynn.users /home/lynn/Desktop
I'm not sure of the best solution here! It depends on
why you want to give Lynn access to steve's Desktop.
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding)
On Saturday 15 April 2006 21:31, Ted Harding wrote:
On 15-Apr-06 mail@steve-ss.com wrote:
as root if I do:
ln -s /home/steve/Desktop/dogs /home/lynn/Desktop
Then user lynn fires up kde, the link doesn't appear as a folder but an empty file icon. Root can see the link fine however.
How can I make the link so that it works properly? SuSE 10.0 Thanks, Steve.
I think you'll find it's a matter of permissions.
If (as user lynn) you do the simple console command
ls /home/lynn/Desktop
you will probably get "permission denied". Although root owns the symbolic link, despite the link itself having permissions rwxrwxrwx, when lynn tries to access the folder linked to, lynn will come against the fact that the true owner of it is steve. And this will remain true even if root does
chown lynn.users /home/lynn/Desktop
I'm not sure of the best solution here! It depends on why you want to give Lynn access to steve's Desktop.
Ted.
Thanks. I think I'm getting there: Sometimes lynn will edit files in the folder and sometimes steve will edit files in the folder. We don't want two copies of the same files.
participants (3)
-
Frank Bax
-
mail@steve-ss.com
-
Ted.Harding@nessie.mcc.ac.uk