Re: Can't make directory link to Desktop



On Wed, 2007-04-11 at 22:33 +0100, Antony Gelberg wrote:
Hi,

Using Gnome 2.14 on Debian. Let's take a user Gavin who is in the
Domain Users group.

gavin@honey:~$ id
uid=1007(gavin) gid=513(Domain Users) groups=513(Domain Users)
gavin@honey:~$ ls -ld /home/share
drwxr-xr-x 3 root root 4096 2006-12-21 14:30 /home/share
gavin@honey:~$ ls -ld /home/share/general/
drwxrwxr-x 5 root Domain Users 4096 2007-04-11 11:49 /home/share/general/

The problem is that using Nautilus, the user can't create a link to
/home/share/general on the Desktop. Upon right-clicking on the
directory, Make Link... is greyed out. Is this a bug? The user has
read permissions on the directory (and its parent).

The 'Make Link' menu item creates a symlink in the same
directory as the original file or directory. I don't
quite understand why anybody finds that useful, though
I suppose you can then move the symlink elsewhere.

Since the user doesn't have permission to write to the
directory /home/share/, he can't use 'Make Link' on
files or directories in /home/share/, since it would
create the symlink in that directory.

Instead of using 'Make Link', try making the link with
drag and drop. If you hold down Ctrl+Shift, Nautilus
will symlink instead of move the file. Alternatively,
if you hold down Alt, you'll get a menu of possible
drag actions when you drop.

--
Shaun


_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



Relevant Pages

  • UDEV questions
    ... I've been wrestling with udev for a while, ... The symlink is created, but the ownership and permissions are ... looking at device '/block/sda' from subsystem 'scsi' ...
    (Fedora)
  • Re: Sticky Bit
    ... Permissions bits on links have no meaning. ... a symlink in a sticky-bit directory link ... I haven't used it except with a simple test program, ... to do that, but I told them that homebrew syscalls were unsupported, that ...
    (comp.unix.solaris)
  • Re: softlink
    ... Generally it means nothing whatsoever. ... Any file you can reach via a symbolic/soft link can be reached directly ... by name anyway (since that's all that's in the symlink). ... other permissions are not useful either. ...
    (RedHat)
  • Re: Setting permissions on serial port
    ... Is there some standard way to set the permissions on the device file ... minicom configured to use the symlink instead of the name. ... looks like a USB serial port to the system, ...
    (Fedora)
  • [RHSA-2002:064-12] Updated Nautilus for symlink vulnerability writing metadata files
    ... The Nautilus file manager in Red Hat Linux 7.2 has a symlink vulnerability. ...
    (Bugtraq)