2

My NTFS partition is mounted as follows:

/dev/sdb1 /mnt/dos ntfs permissions,locale=en_US.utf8,uid=1000,umask=0 0 0

I bound several folders to my home as follows:

/mnt/dos/Books /home/me/Books none bind 0 0
/mnt/dos/Music /home/me/Music none bind 0 0
/mnt/dos/Videos /home/me/Videos none bind 0 0
/mnt/dos/Pictures /home/me/Pictures none bind 0 0

Whenever a file is deleted in Nautilus from these bound folders it gets sent to the .Trash-1000 located under the bound folder rather than the one in my home directory. I do not see the contents of these additional trash folders when I click on the Trash icon, so they are practically inaccessible. I do not believe this is the intended behavior.

FYI: Unresolved thread on ubuntuforums.

1
  • rm never moves files to Trash. What heppen when you want to delete?
    – Anwar
    Sep 15, 2012 at 4:38

2 Answers 2

0

Add umask=0 at the end of mount-options line. I've tested it with ntfs partition in my PC. It should make nautilus delete folder to .Trash-1000 folder.

The line should now becomes like this

/dev/sdb1 /mnt/dos ntfs permissions,locale=en_US.utf8,uid=1000,umask=0  0 0

Replace the uid=1000 with the original uid of your user. You can see it by using id -u command.

8
  • This gives me a "Cannot move file to trash, do you want to delete immediately?" error. What are your Trash folder's permissions and groups? Mine are all root.
    – Emre
    Sep 15, 2012 at 7:56
  • My .Trash-1000 folder's owner is Me (uid=1000)
    – Anwar
    Sep 15, 2012 at 7:58
  • @Emre also add the actual uid before umask by using uid=XXXX format. for me it is uid=1000
    – Anwar
    Sep 15, 2012 at 8:03
  • That did not work. Something is still different between our configurations. Can you help me troubleshoot?
    – Emre
    Sep 15, 2012 at 8:24
  • Let me know the output of your id -u and the line of /etc/fstab. ?
    – Anwar
    Sep 15, 2012 at 10:06
0

This is a long-standing bug that, as of writing, has not been fixed.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .