Can I delete files in /mnt/tmp? and Files in the trash can will not delete?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
in slackware12 press alt F2 and type in. kdesu konqueror press enter then root password now go delete them. there is a lot of things you can see but are not able to read and write to them.
That is left up to the users set up.
What are the permissions on the .Trash-1000 directory ?
What are the permissions on the files sub-directory ?
What are the permissions on the filename.txt file ?
What are the permissions on the .Trash-1000 directory ?
What are the permissions on the files sub-directory ?
What are the permissions on the filename.txt file ?
Permissions for the trash allows all access.
Where is the .Trash-1000 directory?
The premissions for the files that will not delete are greyed out.
The undeleatable files probably have wrong ownerships. Use 'chmod root:root filename' to change them to be owned by root. Then you should be able to remove them -maybe need to 'chown a-s filename', if not.
Can I delete files in /mnt/tmp? and Files in the trash can will not delete?
There are files in this directory that I do not access.
Can I delete them manually?
In the past, I have used /mnt/tmp or /mnt/hd as mount points for removable drives or when I chrooted when using a live cd for rescue purposes. Maybe if you could determine how this mount point is/was being used, you could determine why the files are still there and why they can't be deleted. I don't think you/we can know if these are safe to delete until you can ID what device is using /mnt/tmp.
The undeleatable files probably have wrong ownerships. Use 'chmod root:root filename' to change them to be owned by root. Then you should be able to remove them -maybe need to 'chown a-s filename', if not.
Ok, but how do I get to the trash bin from the command line?
The files in /mnt/tmp are from by external hard drive.
I think they are just links or some kind of cache right?
Look at ~/.local/share/Trash/files for a user's Trashbin.
The files are actually located in /mnt/tmp/Trash-1000/files but they will not delete.
I am trying as root but it says I cant because I am not the owner, read only.
if you have a file that cant be deleted as root. then as root you can change it to read and write and then delete it. there are plenty of files in the system that will not allow root to delete them. Until as root you change there permission in properties.
right click the file > properties > permissions
for command line
"I am trying as root but it says I cant because I am not the owner, read only"
As I said, the files don't belong to you or even root:
Use 'chmod root:root filename'
In Slackware, owner and group names may not be the same as for other distros. In Slack, the root group is '0' -zero, user '0' -zero. Files created on other systems may belong to a group which is not present in /etc/groups.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.