Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
RE: [SLE] ln -s doesn't work with a folder
  • From: (Ted Harding) <Ted.Harding@xxxxxxxxxxxxxxxx>
  • Date: Sat, 15 Apr 2006 20:31:39 +0100 (BST)
  • Message-id: <XFMail.060415203139.Ted.Harding@xxxxxxxxxxxxxxxx>
On 15-Apr-06 mail@xxxxxxxxxxxx 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) <Ted.Harding@xxxxxxxxxxxxxxxx>
Fax-to-email: +44 (0)870 094 0861
Date: 15-Apr-06 Time: 20:31:37
------------------------------ XFMail ------------------------------

< Previous Next >
Follow Ups
References