Setting Permissions Recursively After Time Machine Backup

Discussion in 'OS X' started by mrrish, Sep 5, 2008.

  1. macrumors regular

    mrrish

    Joined:
    Feb 14, 2008
    #1
    Hi,

    My hard drive crashed again the other day, and I didn't sweat since I had a partial time machine backup that saved all my User files and Library files. Problem is, when I restored my files, I am having permissions errors with EVERYTHING. I have thousands of songs, and I want to give myself all the permissions so I can edit the ID tags and buy more songs. How do I do this all in one sweep?

    Thanks.
     
  2. macrumors 65816

    gusious

    Joined:
    Dec 2, 2007
    Location:
    Greece
    #2
    Did you restore the whole OS?Or just some files?Have you tried repairing permissions?
     
  3. thread starter macrumors regular

    mrrish

    Joined:
    Feb 14, 2008
    #3
    thx

    Only some files. The permissions of all the files are "_unknown" and they have read and write access. I did try to repair permissions but that didn't do anything.
     
  4. macrumors 65816

    gusious

    Joined:
    Dec 2, 2007
    Location:
    Greece
    #4
    Why did you restored your files?I mean when you said it crashed you mean you lost everything?

    You have tried changing permissions with Disk Utility correct?
     
  5. macrumors newbie

    Joined:
    Oct 23, 2008
    #5
    Possible Solution

    Hello

    I don't know if you have sorted your problem yet, but I had exactly the same problem and have managed to fix it with just two commands.
    The problem is with the ownership of the files.
    Here is what I did:

    1. Open the terminal
    2. Typed the following:
    Code:
    cd ~
    sudo chown -R {my username}:staff *
    
    I entered my password and off it went, recursively sorting my problem. So just replace {my username} with your short username (the one used as the name of your home folder) and that should sort the problem
     

Share This Page