Results 1 to 5 of 5

Thread: Cannot move files to trash on mounted partitions

  1. #1

    Default Cannot move files to trash on mounted partitions

    Why can't I move files to trash on mounted partitions? I can move files to trash from home directory or from desktop without any problem. My desktop environment is LXDE if that was important in any way. I use the following mount options in gnome-disks. Am I missing something?


  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,402

    Default Re: Cannot move files to trash on mounted partitions

    Quote Originally Posted by GekoOne View Post
    Why can't I move files to trash on mounted partitions? I can move files to trash from home directory or from desktop without any problem.
    Well, this is a bit confusing. Files on your home directory are also on a mounted partition (either on /home if you have a separate partition for it, or on /) and files "from the desktop" are also files in your home directory.

    You probably mean some extra file systems you have mounted. Probably of a non-Linux file system type.

    Can you please show the parameters/options with which it is mounted?
    Code:
    mount | grep '/mnt'
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,253
    Blog Entries
    15

    Default Re: Cannot move files to trash on mounted partitions

    Hi
    Likely the /mnt/DATA isn't writable by the user as it's probably trying to create a /mnt/DATA/.trash<userid> or does it ask to permanently delete the files?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4

    Default Re: Cannot move files to trash on mounted partitions

    Quote Originally Posted by hcvv View Post
    Well, this is a bit confusing. Files on your home directory are also on a mounted partition (either on /home if you have a separate partition for it, or on /) and files "from the desktop" are also files in your home directory.

    You probably mean some extra file systems you have mounted. Probably of a non-Linux file system type.

    Can you please show the parameters/options with which it is mounted?
    Code:
    mount | grep '/mnt'
    Code:
    mount | grep '/mnt'
    /dev/sda7 on /mnt/DATA type ext4 (rw,nosuid,nodev,relatime,x-gvfs-show)
    Both are ext4 partitions, one mounted to "/" (trash works), second mounted on "/mnt/DATA" (trash doesn't work).

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Likely the /mnt/DATA isn't writable by the user as it's probably trying to create a /mnt/DATA/.trash<userid> or does it ask to permanently delete the files?
    It asks to delete files permanently.

    Permissions are set as follows:
    Code:
    me@linux-x7eu:/mnt> ls -l
    celkem 4
    drwxr-xr-x 3 me users 4096 23. srp 12.09 DATA

    UPDATE: the command
    Code:
    gio trash <filename>
    Seems to work fine. Could that be an issue with pcmanfm file manager then?

  5. #5

    Default Re: Cannot move files to trash on mounted partitions

    UPDATE 2: solved... after a quick google search about pcmanfm, I found an article about settings in pcmanfm that makes it delete files instead of moving them to trash. What confused me was that it said "the filesystem does not support moving files to trash" so I was looking in the wrong place the whole time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •