Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT?] Cannot delete symlinks which point to folders on a different filesystem
Date: Sun, 24 Sep 2006 15:57:10
Message-Id: 200609241657.40690.michaelkintzios@gmail.com
In Reply to: [gentoo-user] [OT?] Cannot delete symlinks which point to folders on a different filesystem by Alexander Skwar
1 On Saturday 23 September 2006 14:26, Alexander Skwar wrote:
2 > Hi!
3 >
4 > I'm having a problem with Nautilus from Gnome 2.16 (I also had this
5 > with 2.14.x).
6 >
7 > On my Desktop folder, I've got a symlink:
8 >
9 > alexander@blatt ~/Desktop $ ls -la `pwd`/Bilder
10 > lrwxrwxrwx 1 alexander alexander 20 23. Sep 16:07
11 > /home/alexander/Desktop/Bilder -> /mnt/HD/share/Bilder
12 >
13 > When I now try to move this link into the trash (by selecting it and
14 > pressing <Del> or by selecting the appropriate action from the context
15 > menu), I get an error message:
16 >
17 > Fehler: »Nicht auf demselben Dateisystem«
18 > beim Löschen von »/home/alexa...top/Bilder«.
19 >
20 > Wollen Sie fortfahren?
21 >
22 > [ Abbrechen ] [ Wiederholen ]
23 >
24 >
25 > Error "Not on the same file system"
26 > while deleting "/home/alex...top/Bilder".
27 >
28 > Would you like to continue?
29 >
30 > [ Cancel ] [ Retry ]
31 >
32 > (With a different user, I don't get any message at all - ie. there's
33 > no message and just nothing happens when I hit <Del> - but that's
34 > a different issue...)
35 >
36 > Well, the message is correct - the symlink points to a different
37 > filesystem. To a NFS mounted directory, to be exact.
38 >
39 > Am I doing something wrong? How can I delete symlinks to a
40 > different filesystem with Nautilus?
41
42 I'm afraid I am not familiar with Nautilus, but here are some thoughts which
43 might help. Could this be something related to having a following "/" when
44 running the rm command? What I mean is that the following two commands are
45 not the same:
46
47 rm /home/alexander/Desktop/Bilder
48
49 and
50
51 rm /home/alexander/Desktop/Bilder/
52
53 the latter will try to descend into the directory Bilder. The former will
54 only remove the symlink Bilder from the desktop directory. Not sure how
55 Nautilus runs it, although the error shows that it does not descent?
56
57 Of course all of the above may become further complicated when the command
58 transcends fs mounted with restrictive access rights (as far as the shell
59 executing the command is concerned). Hopefully, someone more knowledgeable
60 than I can help here.
61 --
62 Regards,
63 Mick