Unable to trash folder: Permission denied from /opt directory
14,932
Try with
sudo rm -rf /opt/lampp/htdocs/xampp/dhiva
Related videos on Youtube
Author by
Dhivahar
I am new for Ubuntu. I want to more learn about it. its just awesome platform.
Updated on September 18, 2022Comments
-
Dhivahar over 1 year
I got one minor error while trashing my folder. When I tried to delete folder from
/opt
directory it did show one error likedhiva: Unable to trash file: Permission denied
. I tried to delete through the terminal using this commentdhivahar@dhivahar-PVM900M:~$ sudo rm /opt/lampp/htdocs/xampp/dhiva
But it failed to delete. I got this error from terminal
rm: cannot remove ‘/opt/lampp/htdocs/xampp/dhiva’: Is a directory
I can't edit any files from these directories. I am new for Ubuntu :(
-
Dhivahar about 9 yearsits work.. great... thank so much.. thank you so much for quick response...
-
Charles Green over 5 yearsThis is basically a duplicate of the accepted answer or the question.