The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Restore Default Permissions

    Discussion in 'Linux Compatibility and Software' started by Leon, May 1, 2008.

  1. Leon

    Leon Notebook Deity

    Reputations:
    746
    Messages:
    1,552
    Likes Received:
    3
    Trophy Points:
    56
    Alright, somehow, I just messed up my permissions. How do I restore default permissions for my user? Whenever I try to save a system file, I get the "You don't have enough permissions to save this file." error.
     
  2. lqaddict

    lqaddict Notebook Consultant

    Reputations:
    6
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    30
    What file(s) are you trying to modify, and are you trying to modify it as a regular user?
     
  3. Leon

    Leon Notebook Deity

    Reputations:
    746
    Messages:
    1,552
    Likes Received:
    3
    Trophy Points:
    56
    Trying to modify /etc/default/acpi-support. I can read it but when I try to save it, I get the above error message. Oh, and I don't want a sudo or kgsudo command. It worked before, now it doesn't.
     
  4. pukemon

    pukemon are you unplugged?

    Reputations:
    461
    Messages:
    2,551
    Likes Received:
    245
    Trophy Points:
    81
    are you logged on as administrator? did you disable/offset any privileges?
     
  5. Leon

    Leon Notebook Deity

    Reputations:
    746
    Messages:
    1,552
    Likes Received:
    3
    Trophy Points:
    56
    I don't think I intentionally disabled any privileges and I'm logged in with the account I created when I installed Linux.
     
  6. pukemon

    pukemon are you unplugged?

    Reputations:
    461
    Messages:
    2,551
    Likes Received:
    245
    Trophy Points:
    81
    oops. didn't realize this was a linux thread and you were using linux. good luck finding your answer.
     
  7. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    See if this helps.....I'm still looking because I've done that before :cool: http://www.cyberciti.biz/tips/ubuntu-admin-group-permissions.html
     
  8. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
  9. Pitabred

    Pitabred Linux geek con rat flail!

    Reputations:
    3,300
    Messages:
    7,115
    Likes Received:
    3
    Trophy Points:
    206
    You should have to be administrator to modify ANYTHING in /etc. That's just good security practice. I have the feeling that the file has proper permissions, and what happened before was that you still had a "life" sudo session running, so it automatically let you re-request root permissions transparently without having to retype your password.

    Here are the permissions on that file as default:
    Code:
    pita@pita-t61:~$ ls -l /etc/default/acpi-support
    -rw-r--r-- 1 root root 2155 2007-09-19 03:59 /etc/default/acpi-support
    It's owned by root, everyone can read it, and only root can write. Use kgsudo... that's what it's there for. Linux loses it's security benefit over Windows if you take off those permissions.
     
  10. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Pitabred...I think you typo'd gksudo above....
     
  11. Patrick

    Patrick Formerly beat spamers with stiks

    Reputations:
    2,284
    Messages:
    2,383
    Likes Received:
    93
    Trophy Points:
    66
    Pssh, my account IS Root. I don't need no sticking "sudo"!
     
  12. szandor

    szandor Notebook Evangelist

    Reputations:
    66
    Messages:
    323
    Likes Received:
    0
    Trophy Points:
    30
    the point of not using root, or not having root ssh access, or disabling telnet access, etc, is not to keep the user, you, from harming the system, but to protect your system from the malicious behaviour of others. now you may live in a cave or not have network access or not have anything important to keep people away from so it may not affect you but i would prefer to keep my midget donkey porn out of the hands of others. however, i now know half your login. all i have to figure out is your password.