On Saturday 14 Jun 2003 1:06 pm, Anne Wilson wrote: > On Friday 13 Jun 2003 10:49 pm, Jan Wilson wrote: > > I just right-clicked on my desktop, selected Create New --> Link to > > Location, typed in a name (I picked Testing) and browsed to a > > folder in /mnt. It left a dumb page-looking logo on my desktop. I > > right-clicked on it, clicked on the icon in the dialog box, and > > selected a better icon image. It worked easily. > > Yes - I had done that before, but it appears to be a hard link, not a > soft one, which is why I started again with ln -s.
I'm suprised. /mnt is usually a different partition to /home, so hard links would be impossible. > What really foxed me, was that the symbolic link I had made to > /Graphics created a desktop icon owned by me, whereas the same > command to link to /mnt/OldHome created one owned by root. The only > difference I can see is that /Graphics is a vfat partition, whereas > /mnt/OldHome is owned by root. Is that the reason that the link is > also owned by root? Yes. Links inherit the ownership of the file they link to, otherwise it's a security hole. -- Richard Urwin
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
