Find the answer to your Linux question:
Results 1 to 8 of 8
Hello and Shalom. I just installed Fedora Red Hat and had almost no problem until I started doing my homework labs. (I'm a college student) The last lab I did ...
  1. #1
    Just Joined! Shalom_Israel's Avatar
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5

    Very strange problem, please help.

    Hello and Shalom. I just installed Fedora Red Hat and had almost no problem until I started doing my homework labs. (I'm a college student) The last lab I did before Fedora crashed was "Changing file permissions." I think I somehow made /home directory read only because I can no longer log in. All I get are a lot of pop up errors, can't remember any of them, and can't get to my desktop.

    Please help.

  2. #2
    Linux Newbie ryptyde's Avatar
    Join Date
    Apr 2005
    Location
    Tragic City Michigan USA
    Posts
    228
    If you just installed and have nothing of any importance on the drive just reinstall. If you have important files then you can use a Fedora 11 or CentOS 5.3 LiveCD to retrieve them then reinstall.

    You can possibly login as root and get to your users home directory or run "system-config-users" and try to change permissions.

    PS: could also create a new user account and delete the one that is broken.
    Last edited by ryptyde; 06-29-2009 at 01:53 AM. Reason: speeling

  3. #3
    Just Joined! Shalom_Israel's Avatar
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5
    Thank you for your quick reply. I could reinstall, but I need to know how to fix the problems I encounter as I go along.

    I was told to never log on as root, so I don't know how. Could you show me how?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I presume that this is your workstation or laptop? If so, then log in as root or start in single-user mode. Then you can fix the permissions you mis-set on your home directory, etc.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined! Shalom_Israel's Avatar
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5
    I'm sorry, I forgot to mention what my system was. I have an emachine T6216 desktop.

  6. #6
    Just Joined! Shalom_Israel's Avatar
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5
    I have the command line up, how do I set default permission to my /home file?

    Thank you.

  7. #7
    Just Joined! Shalom_Israel's Avatar
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    5
    I fixed it. I used the terminal and typed chmod 755 /home and restarted. Thank you for your help.

    Shalom.

  8. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    You can also use symbolic permissions, such as: chmod u+rwx,go+rx,go-w /home/user
    That will set the user/owner permissions to rwx, and the permissions for group and other to rx, resulting in the same results as: chmod 755 /home/user
    It really isn't any different, but I think it's clearer, and not dependent upon bit order and needing to think in octal.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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