Using an Intel PC running 22.04 (Waiting for 24.04.1) with a WD external hard drive. Mostly use the disk for saving data files. Been using this combo for years with no problems. But recently decided to add another user. Initially the new user account could not access the hard drive. So I ran Gnome Disks and changed the Mount Options to add "Mount at System Startup". Now both users can access the drive. But when I try moving a file to Trash, I get a message that the file cannot be moved to the Trash and asks if I want to delete the file instead. Where did I go wrong and how can I fix it? Disk is formatted NTFS because I move it between system. Should it be formatted to EXT?
As far as I remember, files from my USB-mounted drives never go to 'trash can' and are permanently deleted instead. Nevetheless, they say there is a fix:
I can confirm that the issue is the lack of a hidden User-specific Trash folder.
Given that your default User ID is 1000, the requirement for your own Trash is ".Trash-1000" on any device where you want that ability.
Look at the /etc/passwd file to identify the ID # (nnnn) of the second (or other) user for which you want to give that privilege.
Use the root ID (or sudo) to create a folder with the naming convention "${FullPath_to_DeviceRoot}.Trash-nnnn", then assign ownership privileges to that user by doing
Thanks for the help. It all makes sense. When I changed the drive to "Mount at System Startup" the ownership of all the files changed to root.
But curiously, running chown reports all the ownerships being changed but root is still owner. I am almost sure that is because the drive is formatted NTFS. So now I am going to find an old external drive and format it as EXT to see if that works. I am not sure EXT will work as an removable drive. Any suggestions as to what format would be a better choice?
I would recommend formatting as any of EXT2/3/4. Unless the data is critical, you can limit to EXT3 (no journaling).
This is the definition I have in my /etc/fstab, in order to control the mounting and force user-initiated mounting, and not have the automounter do so using system default settings.
The first thing is to specify a mount point that is not under /mount, then create your own mount point for all such mounting, then define the settings in fstab for those to be used every time you mount.
For my external 4TB USB WD MyBook, I have the following for the first partition on that drive:
Regarding the need for the quirk, I put together an article which was published in the "Full Circle Magazine - Issue 169", starting on p. 39, explaining