Results 1 to 3 of 3

Thread: Cannot delete file or folders

  1. #1
    Join Date
    Jun 2008
    Beans
    1

    Cannot delete file or folders

    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?

  2. #2
    Join Date
    Dec 2006
    Beans
    1,133
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Cannot delete file or folders

    Could you show the output of ls -l on the folder you're referring to?
    There are no dumb questions, just dumb answers.

  3. #3
    Join Date
    Dec 2007
    Location
    Tampa, FL
    Beans
    1,087
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot delete file or folders

    Quote Originally Posted by desktopdog View Post
    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:
    Code:
    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...
    Last edited by Victormd; June 11th, 2008 at 03:19 AM.
    "There are 10 types of people: Those who read binary and those who don't"
    >>>"who is general failure and why is he reading my files"<<<
    The Ubuntu Counter Project - user number # 22367
    Howto automount NTFS - My wallpaper

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •