Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
I was attempting to make home allow me to do more with the files inside so i changed the permisions and now i cnat use my user account anymore and ...
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    18

    Exclamation /home screwed up

    I was attempting to make home allow me to do more with the files inside so i changed the permisions and now i cnat use my user account anymore and also it doesnt have that orange tab on its icon anymore and ive tried everything but i cant get it back to default.Can anyone help cus for some proggies i need to run it in user mode to be able to use them and ive been forced to use root this whole week.

  2. #2
    Just Joined! Flight_118's Avatar
    Join Date
    Sep 2006
    Location
    Utrecht, Netherlands
    Posts
    59
    I suspect a owner change to root.
    Try this in a terminal (do this as root/super user):

    Code:
    cd /home
    Now you are in the HOME folder, if you do ls you will be able to see your home directory. Now:

    Code:
    chown -hR USERNAME home/USERNAME
    at USERNAME, fill in your username... exactly how you use is at your login.

    Last thing to be sure:

    Code:
    chgrp -hR users home/USERNAME
    Watch it, that last one requires your username only once! username is you "rights-group"

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    18
    ok some guy told me 2 weeks ago to delete my user so what should i do to readd it since i have tried and failed many times to create a new user

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you can do it in GUI through Yast. look for User and Groups Management in it.
    in CLI, create new user through 'useradd' command.

    useradd <username> -d <home_folder> -g <group>

    for more details, check manual of 'useradd'

    man useradd




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Sep 2006
    Posts
    18
    still didnt work i added a new user but its keeps saying /home/USERNAME does not exist attept to use root as a home directory this will likely fail.then its says the drc file or something like that has incorrect permisions something about 644 wtf is wrong?

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you have to create userhome first. after that create new user and change ownership from root to new user.




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Location
    Laurasia
    Posts
    624
    Quote Originally Posted by Flight_118
    I suspect a owner change to root.
    Try this in a terminal (do this as root/super user):

    Code:
    cd /home
    Now you are in the HOME folder, if you do ls you will be able to see your home directory. Now:

    Code:
    chown -hR USERNAME home/USERNAME
    at USERNAME, fill in your username... exactly how you use is at your login.

    Last thing to be sure:

    Code:
    chgrp -hR users home/USERNAME
    Watch it, that last one requires your username only once! username is you "rights-group"
    Make that /home/USERNAME
    So if your username is abc code will be
    Code:
    chown -hR abc /home/abc
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  8. #8
    Just Joined!
    Join Date
    Sep 2006
    Posts
    18
    no didnt help and to add to that error i posted before but missed a few things it also said your user folder is listed as /home/USERNAME but does not appear to exist and btw it wont let me login with it

  9. #9
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Location
    Laurasia
    Posts
    624
    Are you sure that your home dir exists? Sorry if it sounds funny but do check.
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  10. #10
    Just Joined!
    Join Date
    Sep 2006
    Posts
    18
    yes ive checked i can see it and i can see that the home folder not /home/USERNAME just /home/ doesnt have a orange tab like it used to when it actually worked so thats all the info i can really give all the rest i have told before.

Page 1 of 2 1 2 LastLast

Posting Permissions

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