Find the answer to your Linux question:
Results 1 to 4 of 4
Hello my name is Victor. Im trying to figure out how to gain access to a file. Every time I try to delete it, it prompts me with a access ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Location
    USA
    Posts
    2

    Cool Acces Dinnied


    Hello my name is Victor. Im trying to figure out how to gain access to a file. Every time I try to delete it, it prompts me with a access denied pop-up, same thing when I try to change its directory. I have no current codes or any other parameters to deny access to any file.

    The file is a java program file. I now that its not an RMP file because when I go to the terminal and enter “rpm -qa” it dose not appear on the list. So its a self-extracting file. Therefor the manufacturer recommends to just delete the file right there but again access denied same with changing its directory.
    Last edited by devils casper; 07-23-2007 at 03:30 AM. Reason: removed font and size tags

  2. #2
    Just Joined!
    Join Date
    May 2007
    Location
    Southwest Missouri
    Posts
    24
    are you logged in as root?

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    You must have root privileges to delete/edit/create file/folder outside your /home/<user_id> folder.
    Execute su command to gain root privileges.
    Code:
    su
    cd <location of file>
    rm <exact_filename>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined!
    Join Date
    Jul 2007
    Location
    USA
    Posts
    2

    Lightbulb

    Thanks a lot I knew I could do that forsome reason I didnt think!

Posting Permissions

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