Solution: Permission Denied to Delete Files in Trash Folder in Linux

Recently, I encountered problem deleting files in trash folder in Ubuntu. There was a folder in my trash folder that I was unable to delete permanently because when I tried to do so, I met with a message saying : I don't have permission to delete this folder.

So I thought to delete this folder using the "sudo" command and for that I opened terminal window, but I was unable to find my trash folder anywhere on my computer. What is the path of trash folder on Linux ? I searched for it in the File System, but got nothing.

After working out a bit I came up with the solution as mentioned below :


(1) Trash folder in Linux is located @ /home/{your username}/.local/share/Trash

(2) Navigate to that folder using command :
cd /home/{your username}/.local/share/Trash

( {your username} is the user with which you have logged in )

(3) Run the following command :
sudo rm -r *
(4) All folders and files in trash would be deleted.

Hope this tutorial works for you, if not drop your problem as comment.

Get Tech Updates via eMail :


  1. I have been using LongPath tool for past few months. It works fine with unlocking and modifying system restricted files and folders.

  2. Thanks for this post! this quick solution helped to solve my problem too!



About Tech Guru

TechGuru is a leading technology site, dedicated to software, gadgets, tech news and reviews. The site offers articles, tutorials and how-to guides on all things related to personal technology, desktop applications, productive online tools, social networking sites, windows, office etc.

Founded in 2007, TechGuru features audience who have the passion for Software and Technology and seeks to promote awareness about the internet and computing.

Get News on the Go

Mobile TechQuarkTech Guru is a mobile-friendly website. Simply bookmark in your mobile browser for free access anytime, anywhere.

Contact Us / Send a Tip

Use Contact Form, if you have Comments, Problems, Suggestions, Praise, Complains about the site. Your suggestions and articles are valuable to us.

Copyright © 2007- Tech Guru - All rights reserved. No part of this blog be republished or written without prior permission of the author

Privacy Policy | Disclaimer | Contact | Advertise With Us

Designed and Maintained by Shubham Gupta