View Full Version : [ubuntu] Cannot delete file or folders
desktopdog
June 10th, 2008, 09:26 PM
Hello. I have a folder and files that have a lock on them. When I try to delete them I get a message Can't change the permission or I don't have permission to delete file or folder. I tried using chmod to change permissions but no good.
Can any one help please?
lswb
June 10th, 2008, 10:14 PM
Could you show the output of ls -l on the folder you're referring to?
Victormd
June 10th, 2008, 10:16 PM
Hello. I have a folder and files that have a lock on them. When I try to delete them I get a message Can't change the permission or I don't have permission to delete file or folder. I tried using chmod to change permissions but no good.
Can any one help please?
you will have to open the terminal and use "sudo rm" command but be very careful!!!!
usage:
sudo rm -r FOLDERNAME
if you do not include the folder name, this command can wipe your entire HD so be careful...
I know this may seem extreme but it's not, and don't be frightened by it, it's a normal command, but can do a lot of damage if not used properly... so, again, don't forget to replace FOLDERNAME with the name of the folder you wish to remove...
If you're not familiar with the terminal usage, come back so we can further assist you...
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.