Find the answer to your Linux question:
Results 1 to 6 of 6
I have an older computer and I am trying to free up some disk space. I used PC Man File Manager and went to my main hard drive and then ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Posts
    1

    Can't Delete Files in usr


    I have an older computer and I am trying to free up some disk space. I used PC Man File Manager and went to my main hard drive and then went to usr and found a bunch of files that I wanted to delete. When I tried to delete any of the files it said Error: Permission denied. What do I need to do?

  2. #2
    Just Joined!
    Join Date
    Feb 2012
    Posts
    20
    Can you access the usr folder from the command line? Check the permissions on the folder using ls -l command. If you don't have permissions do you have root access?

  3. #3
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    339
    Deleting files from the /usr folder could wreck your system unless you know exactly what you're doing.
    Pete

  4. #4
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    141
    I would look elsewhere to delete files but can if you decided to do it su to root and do it from there
    mace

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,459
    Many of the files in /usr should NOT be deleted if you want to have a working system. Even as root, make sure you know what you are doing first! Specifically, what files are you thinking of deleting?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by Rubberman View Post
    Many of the files in /usr should NOT be deleted if you want to have a working system. Even as root, make sure you know what you are doing first! Specifically, what files are you thinking of deleting?
    I concur, if anything, look in /var/log and /tmp for things to delete. It's been a week since OP last posted.....I wonder if the wrong files got deleted.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

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