Comment 10 for bug 192629

Revision history for this message
aaron (nelaaro) wrote : Re: Cannot send files to trashcan from an ntfs partition

I have seen this bug in a few places and I have not found a simple solution to post in the Ubuntu forums. I am having. the same problem. I understand how to edit the fstab entries. But before I post a reply to this thread http://ubuntuforums.org/showthread.php?t=774426 in the Ubuntu forums, I would like to make sure that I have the fix correct and easy enough to follow for just about every body.

You need to determine the partition and device that contain the ntfs partition.
 #sudo fdisk -l
   Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 7 HPFS/NTFS
You then need to open the fstab file in /etc/fstab and add and entry to mount the ntfs partition with the correct mount options to ensure that it is mounted as the correct user.
First create the directory to mount the ntfs partition to.
sudo mkdir /media/[myntfs_part]
#gksudo gedit /etc/fstab
then add the following lines to the fstab file.
/dev/sdb1 /media/[myntfs_part] ntfs defaults,umask=007,uid=1000,gid=1000 0 1

Is this the correct solution. I am not sure if I should use the /media directory or the /mnt directory. What is the standard. I see Rocko using /c.

I also feel that the user should always have the default option of sending data to the trash directory even if it is insecure. The average every day desktop user is not interested in performing all the above steps just to be able to have files got to a trash can. If it is a security risk the the user should be told this in the delete prompt as a warning. Only having a permanently delete option as has been stated will cause some frustration when people realise later that they can't get their files back.

If Ubuntu is designed as an average every day desktop system the security risk when heaving a multi-user work station would mean that it has already gone to beyond the average every day desktop system where in the majority of cases only a single person uses a computer. On a multi-user work station the user should be told that their files, when deleted and moved to trash will be available to other users on the system. Josh Smith and Rocko have made this point quite well.

2.6.24-17-generic #1 SMP i686 GNU/Linux
Ubuntu Hardy