Home folder owned by root?

Discussion in 'OS X Mavericks (10.9)' started by riprap1951, Nov 23, 2013.

  1. riprap1951 macrumors newbie

    Joined:
    Jan 16, 2012
    #1
    Maybe I totally missed this in previous versions, but after the Mavericks upgrade I find that my home user folder & virtually all subfolders within are owned by root. [???]
    Is this default? Also, I went into Terminal to try & correct this, using sudo & chmod & chown. The commands seemed to execute OK. But afterward I lost access to all my files, & had to do a Time Machine recovery.
    Is this root-ownership of home folder a new thing?
    /terry
     
  2. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #2
    Not normal you have something weird going on.

    Code:
    MacUser2525:~$ ls -l /Users/
    total 0
    drwxr-xr-x+ 67 MacUser2525  admin   2.2K 19 Nov 19:43 MacUser2525/
    drwxrwxrwt   9 root         wheel   306B 23 Oct 00:29 Shared/
    MacUser2525:~$ ls -l /Users/MacUser2525/
    total 64
    drwxr-xr-x+  4 MacUser2525  admin   136B 13 Nov 00:23 Applications/
    drwxr-xr-x+ 25 MacUser2525  admin   850B 20 Nov 01:48 Bin/
    drwx------+  6 MacUser2525  admin   204B 18 Nov 01:37 Desktop/
    drwx------+ 63 MacUser2525  admin   2.1K 22 Nov 18:15 Documents/
    drwx------+  5 MacUser2525  admin   170B  2 Nov 18:36 Downloads/
    drwx------@ 74 MacUser2525  admin   2.5K  7 Nov 20:24 Library/
    drwx------+  9 MacUser2525  admin   306B 18 Sep 18:18 Movies/
    drwx------+  5 MacUser2525  admin   170B 21 Oct 23:58 Music/
    drwx------+  9 MacUser2525  admin   306B 10 Mar  2013 Pictures/
    drwxr-x---+  6 MacUser2525  admin   204B 26 Mar  2008 Public/
    drwxr-xr-x+  8 MacUser2525  admin   272B 11 Oct 01:20 Sites/
    -rw-r--r--@  1 MacUser2525  admin   2.7K 10 Jul 16:13 accounts.gpg
    
    
     
  3. riprap1951 thread starter macrumors newbie

    Joined:
    Jan 16, 2012
    #3
    to MacUser2525:
    Any ideas on how to correct this?
    [I'm backed up on external drives big time, so there's no problem thrashing around on Terminal...I'd like to get this fixed.]
    TIA for your time.
     
  4. MacUser2525, Nov 23, 2013
    Last edited: Nov 23, 2013

    MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #4
    Well you have already tried what I would have done in the situation except not chmod there should be no need to change the permissions only the ownership so sudo chown -R MacUser2525:admin /Users/MacUser2525 is what I would have tried in the same situation. Other than that I would look at your backup to make sure the files are actually still owned by your user in there.

    Edit: How did you do the upgrade process anyways? That may give us a clue as to what went wrong.
     
  5. marzer macrumors 65816

    marzer

    Joined:
    Nov 14, 2009
    Location:
    Colorado
    #5
    Last time I had that problem, I just brute forced it; deleted the user using the archive files option, recreated the user and copied the files from the archive into the new home folder (do this logged in as the recreated user). Ain't pretty but it did the job. :)
     
  6. ivnj macrumors 65816

    Joined:
    Dec 8, 2006
    #6
    If you're already backed up. Then just wipe and reinstall the system.
     
  7. riprap1951 thread starter macrumors newbie

    Joined:
    Jan 16, 2012
    #7
    joy.

    to MacUser2525:
    I followed your "chown" syntax to the letter.
    This time it worked [maybe I had the option/switch wrong last time I tried?]
    Anyway--=Thanks to you guys for taking the time to reply.
    And have an excellent weekend!
    /terry
     
  8. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #8

    Your welcome nice to see you got it fixed, looks like your going to have a better weekend yourself now.
     

Share This Page