Results 1 to 6 of 6

Thread: [SOLVED] Change permissions of deleted user's home folder

  1. #1
    Join Date
    Jun 2008
    Location
    Macon,GA
    Beans
    56

    [SOLVED] Change permissions of deleted user's home folder

    My default (original) user was all messed up, so I created a new user gave it full permissions, however now I'm locked out of the original home directory which has ALL of my files/data/important work documents....please help, thanks

  2. #2
    Join Date
    Jul 2006
    Beans
    890
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Change permissions of deleted user's home folder

    Easily enough solved. Open up a terminal (Applications > Accessories > Terminal) and run this command:

    Code:
    sudo chown -R $USER <path to old home>
    You'll get a prompt for a password (It doesn't show anything whilst you type but it still works) Enter your password and hit enter, it may take a couple of seconds depending on how much is in the directory, but it will change the owner to your current user, which should give you full access again.

  3. #3
    Join Date
    Jun 2008
    Location
    Macon,GA
    Beans
    56

    Re: Change permissions of deleted user's home folder

    forgive my ignorance but i don't think i'm putting this in the terminal correctly, the exact path eludes me. Through nautilus i click on file systems then home, then jamie, jamie is the folder that needs its permissions changed....thanks in advance.

  4. #4
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Change permissions of deleted user's home folder

    Assuming your new login name is martini and jamie is the old one.

    You can either change the ownership of jamie to your new login name so you can access it anytime you want.

    Code:
    sudo chown -R martini /home/jamie
    ls -la /home/jamie
    Or you can change the permissions.

    Code:
    sudo chmod 777 -R /home/jamie
    ls -la /home/jamie
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  5. #5
    Join Date
    Jun 2008
    Location
    Macon,GA
    Beans
    56

    Re: Change permissions of deleted user's home folder

    Awesome thanks so much.....

  6. #6
    Join Date
    Jul 2007
    Beans
    34

    Re: [SOLVED] Change permissions of deleted user's home folder

    Add another thanks, just saved my butt too.

Bookmarks

Posting Permissions

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