-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't trash regular file #9
Comments
The .Trash-$uid and the .Trash directories should be created in the volume, usually this means /media/disk/.Trash or /media/disk/.Trash-123. Moreover the /media/disk/.Trash directory needs the sticky bit set. |
@andreafrancia do you know off hand the commands necessary to set the sticky bit? |
As drevicko said:
chmod +t FILE
man chmod
TrashSpecs mandates that the location should be $topdir/.Trash
Check out the FreeDesktop.org TrashSpec.
Don't do this. It's a bad idea. If I suggested somewhere to do this I was
You can bypass aliases adding a leading backslash: \rm FILE |
Excellent response! Thankyou @andreafrancia for taking the time and providing all that useful info (: Having a quick look at the TrashSpec, I'd say that making $topdir/.Trash globally writable probably isn't such an issue - stuff retains its permissions when put there. You're probably right about aliasing |
You may want create an alias like this:
|
I like your style ;) |
Hey @andreafrancia , I am facing the similar issue. When I use However, we have another disk I have created a I am not sure what to do. Could you please help me out? Thanks, |
Hi,
I'm trying to trash a file stored in the mounted drive /media/NameOfMyDrive.
eg.
$ touch something
$ trash-put something
trash-put: cannot trash regular file `something'
It works on home directory, but doesn't on a mounted drive.
Drive is exFat, and a .Trash- is present in the drive.
Maybe it has something to do with the permission of /media, although to create, delete file from mount doesn't require the admin permission
The text was updated successfully, but these errors were encountered: