The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    File permissions stuffed up please help!

    Discussion in 'Apple and Mac OS X' started by Underpantman, Oct 2, 2009.

  1. Underpantman

    Underpantman Notebook Virtuoso

    Reputations:
    356
    Messages:
    2,073
    Likes Received:
    0
    Trophy Points:
    55
    I some how managed to completely screwup the file permissions ownership on my macbook (10.6). This seems to have also mirrored itself to my timemachine. So I did a clean instal of SL, and then manually moved my files from TM back across, but unfortunatley the permission for all said files are wrong.
    So I went as set using cmd+I the permission to myself as owner, as checked to apply to enclosed items, thinkin that would do the trick.
    Unfortunately while it did fix a few files, the majority still remain stuck with the "_unknown" as the owner, which is preventing me from opening and using pretty much everything on my mac.

    Does anyone know a way to force write the owner permissions to me for ALL files in my home directory?

    Thanks in advance
    a
    :)

    ps I have tried the repair permissions in disk utility several times, it does nothing
     
  2. Underpantman

    Underpantman Notebook Virtuoso

    Reputations:
    356
    Messages:
    2,073
    Likes Received:
    0
    Trophy Points:
    55
    managed to fix the problem.
    Enabled root access.
    Setup a new account, gave it ownership of home folder of old stuffed up account.
    Logged in to new account, COPIED across all the files, and all is now good !
    NB: moving files didn't do the trick, neither did trying to apply permissions from root to old account, or even renaming old account.
    Hopefully no one else ever has to go thru this themselves.
    a
    :)
    PS ran TM after this, and now TM is fixed too, even able to browse back in time to the old install.
     
  3. mr__bean

    mr__bean Notebook Evangelist

    Reputations:
    36
    Messages:
    449
    Likes Received:
    0
    Trophy Points:
    30
    Thanks for keeping us updated.

    Do you know what caused the permissions to mess up in the first place? it could be usefull to so that other people could avoid doing what ever it was

    Thanks.
     
  4. timberwolf

    timberwolf Notebook Consultant

    Reputations:
    131
    Messages:
    288
    Likes Received:
    0
    Trophy Points:
    30
  5. Underpantman

    Underpantman Notebook Virtuoso

    Reputations:
    356
    Messages:
    2,073
    Likes Received:
    0
    Trophy Points:
    55
    It was self inflicted stupidity, I accidentally tried to give myself permission to alter a hidden file, and it started applying it to the whole hdd, crashed halfway thru, then the computer couldn't boot up. I repaired the permissions using disk utility on my SL disk, and was able to reboot into OSX, things were buggy, but I didn't have time to do a fully restore until a week later, by this time I had run TM a few times to backup critical data since the crash, not realizing that the permissions were so f#&"up, and that this would infect the TM backups.
    So when I went to restore the mb from TM, I just copied back the problem.
    Thankfully the above trick worked and things are now super good again.
    a
    :)