public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  [OT?] Cannot delete symlinks which point to folders on a different filesystem
@ 2006-09-23 14:26 Alexander Skwar
  2006-09-24 16:57 ` Mick
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Skwar @ 2006-09-23 14:26 UTC (permalink / raw
  To: gentoo-user

Hi!

I'm having a problem with Nautilus from Gnome 2.16 (I also had this
with 2.14.x).

On my Desktop folder, I've got a symlink:

alexander@blatt ~/Desktop $ ls -la `pwd`/Bilder
lrwxrwxrwx 1 alexander alexander 20 23. Sep 16:07 /home/alexander/Desktop/Bilder -> /mnt/HD/share/Bilder

When I now try to move this link into the trash (by selecting it and 
pressing <Del> or by selecting the appropriate action from the context
menu), I get an error message:

        Fehler: »Nicht auf demselben Dateisystem«
        beim Löschen von »/home/alexa...top/Bilder«.

        Wollen Sie fortfahren?

                                        [ Abbrechen ] [ Wiederholen ]


        Error "Not on the same file system"
        while deleting "/home/alex...top/Bilder".

        Would you like to continue?

                                        [ Cancel ] [ Retry ]

(With a different user, I don't get any message at all - ie. there's
no message and just nothing happens when I hit <Del> - but that's
a different issue...)

Well, the message is correct - the symlink points to a different
filesystem. To a NFS mounted directory, to be exact.

Am I doing something wrong? How can I delete symlinks to a
different filesystem with Nautilus?

Thanks,

Alexander Skwar
-- 
Misery loves company, but company does not reciprocate.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user]  [OT?] Cannot delete symlinks which point to folders on a different filesystem
  2006-09-23 14:26 [gentoo-user] [OT?] Cannot delete symlinks which point to folders on a different filesystem Alexander Skwar
@ 2006-09-24 16:57 ` Mick
  0 siblings, 0 replies; 2+ messages in thread
From: Mick @ 2006-09-24 16:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

On Saturday 23 September 2006 14:26, Alexander Skwar wrote:
> Hi!
>
> I'm having a problem with Nautilus from Gnome 2.16 (I also had this
> with 2.14.x).
>
> On my Desktop folder, I've got a symlink:
>
> alexander@blatt ~/Desktop $ ls -la `pwd`/Bilder
> lrwxrwxrwx 1 alexander alexander 20 23. Sep 16:07
> /home/alexander/Desktop/Bilder -> /mnt/HD/share/Bilder
>
> When I now try to move this link into the trash (by selecting it and
> pressing <Del> or by selecting the appropriate action from the context
> menu), I get an error message:
>
>         Fehler: »Nicht auf demselben Dateisystem«
>         beim Löschen von »/home/alexa...top/Bilder«.
>
>         Wollen Sie fortfahren?
>
>                                         [ Abbrechen ] [ Wiederholen ]
>
>
>         Error "Not on the same file system"
>         while deleting "/home/alex...top/Bilder".
>
>         Would you like to continue?
>
>                                         [ Cancel ] [ Retry ]
>
> (With a different user, I don't get any message at all - ie. there's
> no message and just nothing happens when I hit <Del> - but that's
> a different issue...)
>
> Well, the message is correct - the symlink points to a different
> filesystem. To a NFS mounted directory, to be exact.
>
> Am I doing something wrong? How can I delete symlinks to a
> different filesystem with Nautilus?

I'm afraid I am not familiar with Nautilus, but here are some thoughts which 
might help.  Could this be something related to having a following "/" when 
running the rm command?  What I mean is that the following two commands are 
not the same:

rm /home/alexander/Desktop/Bilder

and 

rm /home/alexander/Desktop/Bilder/

the latter will try to descend into the directory Bilder.  The former will 
only remove the symlink Bilder from the desktop directory.  Not sure how 
Nautilus runs it, although the error shows that it does not descent?

Of course all of the above may become further complicated when the command 
transcends fs mounted with restrictive access rights (as far as the shell 
executing the command is concerned).  Hopefully, someone more knowledgeable 
than I can help here.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-24 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-23 14:26 [gentoo-user] [OT?] Cannot delete symlinks which point to folders on a different filesystem Alexander Skwar
2006-09-24 16:57 ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox