Recovering from Damage to User folder

My Intel Mac (10.4.11) had a seizure the other day. Something got scrambled, because after the dust settled, when I logged in to my usual account, the Finder went unstoppably in an endless loop, quitting and restarting itself every 15 seconds. Everything else was running correctly -- but it was difficult to do more than the most basic operations in this state.
(I connected via LAN from another machine to back up my most important files. I tried rebooting and not logging in, in which state I could mount the disk on a remote machine. In that condition, copying worked flawlessly. )
I tried various standard fixes and finally found that creating a new user fixed the problem -- the system worked completely normally running as the new user. So, I decided to abandon the old user account and use the new one.
My guess is that something in the user folder for the old account got scrambled, almost certainly something in the ...Users/<oldusername>/Library folder, but not the Preferences folder -- one of the first measure I took was removing the contents of this folder, which had no effect.
Folders owned by <oldusername> was the most frequent problem I encountered while converting to the new user account. I tried changing ownership at the highest level of my work folders, using Get Info and "Apply to enclosed items...", but there are just enough locked items (I guess) sprinkled around to sabotage that operation. I'd invariably get "The operation could not be completed because you do not have sufficient privileges for some of them."
My questions:
1. Is there any way to protect against this kind of failure? (My guess: "No.")
2. Is it worthwhile trying to locate and correcting the failure rather than abandoning the failing account and starting over? (My guess: "No, though it might be done, the work might take a very long time and the result might not be entirely solid.")
3. Are there any utilities or shortcut methods that can help the transfer everything to a new username? (My guess: "No. Just gotta do the hard work.")
4. Is there a web page that summarizes the locations of the databases for all the standard Mac utilities, e.g. Address Book, iTunes, iPhoto etc., along with tips for transferring them to a new user cleanly?
5. The Finder method of changing owners using Get Info and "Apply to enclosed items..." aborts when the first unchangeable item is encountered, right? (That seemed to be the case.)
5. Is there any better alternative to changing ownership of a massive folder hierarchy containing a few locked files besides opening a Terminal window and executing a chown -R command as Superuser?
6. Am I missing anything really obvious in all this? <grin>
TIA,
Henry

Hi Henry,
1. Several preventative things can be done...
"Try Disk Utility
1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
5. Select your Mac OS X volume.
6. Click Repair. Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then Safe Boot , (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it finishes.
The usual reason why updates fail or mess things up, or things don't load/run, is if Permissions are not fixed before & after every update, with a reboot... you may get a partial update when the installer finds it doesn't have Permissions to change one obscure little part of the OS, leaving you with a mix of OS versions.
Some people get away without Repairing Permissions for years, some for only days.
If Permissions are wrong before applying an update, you could get mixed OS versions, if Directory is the slightest messed up, who knows!
If many Permission are repaired, or any Directory errors are found, you may need to re-apply some the latest/biggest updates again, or even do an A&I if you have enough free disk space.
The combo update for PowerPC-based Macs...
http://www.apple.com/support/downloads/macosx10411comboupdateppc.html
The combo update for Intel-based Macs...
http://www.apple.com/support/downloads/macosx10411comboupdateintel.html
Repair Permissions before & after re-install, then reboot again each time.
If all the above do not resolve the problem, then it's time for an Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
http://docs.info.apple.com/article.html?artnum=107120
Be sure to use Preserve Users & Settings.
I only use Software Update to see what is needed, then get them for real via...
http://www.apple.com/support/downloads/
That way I can wait a week or so, check the forums for potential problems, and get Permissions & such in order before installing.
DiskWarrior is worth it's weight in gold...
http://www.alsoft.com/DiskWarrior/
2. Depends what you need.
3. Not the way stated.
5. BatChMod...
http://www.macchampion.com/index.shtml

Similar Messages

  • How can I Recover From Damaged Drive?

    Hi,
    I've had an internal HD corrupt in my new Mac Pro, and I'm wondering what I can do to recover the data.  I've looked at this several posts including this one listing 3 data recovery software apps:
    https://discussions.apple.com/message/15249262#15249262
    I also considered using Ubuntu Remix as described here, but it's looking like the dd tool exists in OSX as a command from terminal?  That led me to this article, describing how to use the dd tool.  So IS this something that's just included in OSX?  Also, I'm not really clear on what to enter for the Unix drive path.  The drive shows up in Disk Utility as a 4.14TB drive (even though it's only 2TB), but is not mounted, and so I don't know what the drive path would be. . . would it still be /volumes/Archive?  Or would it be the name I see in Disk Utility? 
    I've already tried Disk Warrior (booting to the CD even though the drive in question is not my OSX drive), and it said the drive couldn't be rebuilt.  When I startup the computer, it gives me a message saying the drive couldn't be initialized, and the option to initialize, eject, or (I think) ignore. 
    Does anyone have any thoughts on the best methods from what I've listed here?  I can supply more information if needed.  Just tell me what to look for.
    Thanks,
    Lawrence

    Lawrence,
    The same has happened to my gf's iMac. She has 27" iMac mid 2011 and today the drive went down. Instead of 1TB HD with two partitions Disk Utility lists it as "4.14 GB ST_M13FQBL Media" with no partitions. On top of that there is a strange noise generated - I believe this is fan related.
    It took me a while to workout what the heck was going on with it as Apple Hardware Testing (AHT) does not list any problems. Initially I thought that MBR was wiped due to Windows 7 service pack installation, but when run Disk Utility I realized that there is something wrong with HD.
    Apple started replacement program for faulty Seagate HDs for iMac sold between late 2009 and mid 2011. Unfortuantely her iMac is not eligible, but luckilly it is still on warranty. More details about the recall can be found here http://www.apple.com/uk/support/imac-harddrive/
    I have read a bit about the issue and I found this link was very usefull:
    When a drive powers up, its MCU (microcontroller) puts it through a self test during which it confirms the integrity of the SDRAM and serial flash memory, among other things. It then consults the PUIS flag and, if disabled, it commands the motor controller IC to spin up the motor. The drive then accesses the hidden System Area (also called the Service Area or Negative Cylinders) on the platters and retrieves information such as the runtime ATA firmware, P-list and G-list (factory defects and grown defects), translator (to convert LBAs to physical Cylinder/Head/Sector), etc. If any of these modules are corrupted or inaccessible, then the drive powers up in a kind of "safe" mode. In this mode there is no access to user data. Sometimes the drive reports 0 LBAs, as is the case with some Seagate models that have corrupted G-lists or SMART data. At other times the drive identifies itself with its "factory alias" (eg ST_M13FQBL or ROM MODEL HAWK) rather than its actual model number. This alias is stored within the serial flash memory on the PCB.
    Milos on his blog (http://www.milos.ivanovic.co.nz/blog/218) explains similar problem and shows the solution how to perform a DIY repair of the HD. Unfortunately I am not sure if the fix applies to this case, and also, I do not have required hardware to perform the repair (and additional machine I could temporaily plug the HD to power it up)
    Lawrence, it would be great if you shared your experience on recovering the data from that drive. My gf does not want to turn her iMac to Apple service yet as she wants to get her data back from the drive. I am planning to run some data recovery apps against that HD, and if nothing, I will send the HD to Seagate Recovery Services and hope to get it done for free as it is their faulty drives.
    Thanks,

  • Restoring desktop from backed up user folder - Time machine doesn't ??

    I need to restore my desktop from a backed up copy of my user files. Went to the Genius Bar and discovered my disk was failing (Apple replaced it at No Charge! kudos) The Genius backed up my files to a folder on my external hard drive before replacing the disk and installing Leopard. Got the machine back and installed the Leopard updates to 10.5.2 and then tried to reinstall my files. The migration assistant does not recognize my folder as a viable volume to back up. Time machine does not do it either (probably since it was not created in TIme machine).
    Folders inside my backup folder include: Desktop, Documents, Downloads,Library, Magazines, Movies, Music, Pictures, Public, Sites, plus the remaining files that I had stored on my desktop.
    Any thoughts on how to restore these files? I noticed my application folder was not in the back up, so I imagine that I will need to restore my applications separately. The ones that I am concerned about are iTunes and iPhoto, and they were part of the Leopard image that the Genius bar installed.

    I have always had problems restoring from my backups.   I just replaced my hard drive and did a restore and now there are no icons in the dock (all ?'s) and I cannot click on my Applications folder in any finder window.  (Oh, and the fans run constantly at top speed after being on for about 3 minutes.) 
    This is probably the 10th restore I've done in the past couple of years and I don't think one has worked for me. 

  • URGENT How to recover from a drop user comand

    Hi.
    My database is 9i release 2. Archive is not enable. Backup: cold backup (physical and exp)
    A drop user cascade command was accidentally issued.
    Given the circuntances, what options do i have
    - Will flashblack help
    - Can i use logminer
    Thanks ind advance ...!
    PD. URGENT PLEASE ....!

    Whoever decided to run in noarchive log mode should explain that the the data is lost, but that it doesn't matter. Firm but fair.
    I had to do this once. I inherited a database and only discovered that didn't have archivelogmode switched on when it crashed (it was my first DBA gig). Since then it's the first thing I check before I do anything in a production environment.
    Cheers, APC

  • Updating Phone Directory after moving users from default "users" folder

    After moving any users from the default "users" folder in AD to a new OU the phone system no longer shows them in the Directory. How could I update the phone system after making changes to the AD structure?

    You need to re-run the AD plugin.
    And point User Search base to that new OU.
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a0080292f6e.shtml#topic2

  • Mess in Users folder - please help!!

    Hey
    My name is Fabrice, and the name of the man who previously owned the computer (PB G4, os X version 10.11 was called Pankaj. I tried to rename the admin (the one with a little house icon, I guess it's called the root?) in the "users" folder from Pankaj to Fabrice because it was annoying me (especially when I connect to other networks and people look for Fabrice but only find Pankaj). To do so I clicked on the name near the little house icon in Mac/users/ and renamed it, but there was already a blue folder in /users/ with Fabrice, so to avoid conflict I renamed the house folder with "Fabrice Familyname". When I restarted the computer, all my preferences were gone, the dock prefs and the wallpaper alike, there was nothing on the desktop, etc. Nothing had been deleted but when I went to mac/users/ there was now three "users": the house icon was still called "Pankaj" (22gb), and there were two blue folders :the "Fabrice" folder (3gb) and the "Fabrice Familyname" (blue) folder (330mb). I found some of my preferences that were missing, for example all the firefox preferences that I really need back, in the "Fabrice Familyname" folder. In the Users section of System Preferences, though, there is just "Fabrice" - no other choice.
    So, okay, I did something I shouldnt have. Now I can't even connect to my own house's wireless internet connection because god knows where I have the codes written down, and they're among the misplaced prefs.
    1)-Why are some of my personal files in the "Fabrice Familyname" folder?
    2)-How can I go back to my previous settings, and just know where they are? It just seems strange that some personal files are in the 300 mb folder while the other one is 3 gb.
    I really need to have my Firefox preferences back, of all things, but it seemed when I replaced the Firefox folder in the Application Support folder that had firefox default settings with the one with my personal settings, that after restarting the folder was a default one again.
    And how about my wireless internet codes?
    I feel like it's going to be a real headache solving this, so if anyone could help it would be wonderful! Maybe I just need to backup the "Fabrice" folder that's 3gb and then delete it?
    Waiting for a reply I think I'll go back everything up on CDs, the whole 30 gigs... lots of fun ahead, but I'm just too afraid if I moved the users folder with default settings to the trash it would do something bad.
    Please help me if you know what I did stupid and how to undo!

    Hi Fabrice!
    See if the info in one, or more, of the Articles linked to below, helps.
    Return to Default Desktop, Apparent "Loss" of Home Directory
    My home folder and desktop are different than before
    Recover from renaming your Home folder, authored by Dr Smoke
    ali b

  • User folder

    Hi,
    I have mistakenly renamed my user folder. The system has then created a new one, and for some reason my old user folder lies within the new one.
    My question is, can I just open two windows and then rename the new, and drag the old into it´s right place, changing it´s name back to the original...?
    I have the panther OS
    - Hans

    Hi Hans, and Welcome to Discussions!
    One or more of these pages should help!
    Recover from renaming your Home folder
    Mac OS X 10.3: Return to Default Desktop, Apparent "Loss" of Home Directory
    Mac OS X 10.3 Help: My home folder and desktop are different than before
    Good Luck!
    ali b

  • User folder resets

    I accidentally changed the name on my home folder. Of course, now all my files are under an alias. But the strange thing is that can get anything back into my home folder. Every time I shut down or restart , the system resets everything on the OS, like it's brand new. I also get a new user folder with an additional number, ie: Larry, then Larry 1, then Larry 2.
    My data is safe now on an external drive, but I can't get the OS to reset and save my info.
    If this has happened to you, please help.

    Welcome To  Discussions lawolfberg!
    You cannot just return the data to the Home account. There is a method to recover from this issue.
    The info in one or more of the articles linked to below, should be helpful.
    Return to Default Desktop, Apparent "Loss" of Home Directory
    My home folder and desktop are different than before
    Recover from renaming your Home folder, authored by Dr Smoke
    ali b

  • Best method to move "previous system-users" to the new user folder

    I was doing an Archive and Install of a current 10.5.8 system because of problems with the "usr" folder showing in the root listing of the hd folders while booted from this same hd. I knew that wasn't a good sign.
    Anyway, it failed saying that the previous Users could not be moved into the new OS's User folder and they would be placed in the "Previous System" folder.
    I have updated the newly installed OS to the latest Apple updates.
    Now I'm wondering what is the best method to get the User folders (with lots of data) from the Previous Users folder into the new Users folder so that all the data is recognized.
    Thanks in advance!

    Just drag contents of the previous Home folder to their respective locations in the new Home folder.
    Do not simply drag the entire Home folder into the new /Users/ folder. Just the content of the old Home folder, i.e., Documents, Downloads, etc. The system may prevent you from replacing some folders, so you will need to move the contents of those folders.
    Oh, and see this: How to get files from a previous home directory after Archive and Install.
    Message was edited by: Kappy

  • Recover from checking Hidden in the attributes for a HD user folder

    I am in the process of setting up a new "wonderful" Windows 8.1 laptop.  I managed to check the hidden box in an attributes section for my personal user folder.  Now, i cannot even get t "My PC" to look at any of my files in my own account. 
    I need to know how to recover from this stupid error.  I am just stating the setup so I can als re-initialize the hard drive if that is te best way to recover.
    Please provde me with some assistance.
    Very Frustrated

    Hi,
    Open windows Control Panel and in the top right, next to View by: select 'Large Icons'.  From the new layout, select Folder Options and then select the View tab.
    Click the 'Restore Defaults' button towards the bottom right and then click Apply and Ok to save this change.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Damaged SSD, need to delete user folder - permission denied

    Hi everyone, this is my first post.
    I have installed SL onto my Kingston ssdnow v100 128GB solid-state drive (SSD) and used it as my primary OS drive along side of optibay in my first generation Macbook Pro Core Duo 2.0.
    It has been funcioning perfectly until 2 months ago: my laptop would idel at the grey startup screen after a cold start with the progress indicator (circular) running indefinetly. The system files were being loaded but the process never completes. I reinstalled SL fresh a few times, all successfully, but the problem would return the next morning when switched on from cold. Traditional SATA drive was used and did not cause this problem.
    I have decided that it was a SSD failure and have arranged it to be sent back to the seller.
    SO here is the PROBLEM:
    I wish to delete only the USER FOLDER while preserving  system files on the SSD drive, so that when the seller tests it he is able to pick up the problem. If I format the entire drive, the seller may not pick up the fault as the drive would install OS fine and appear functional.
    So I connected the SSD drive via USB to my other MBP, the Finder pops up and  tells me that the SSD drive can not be repaired but can be READ to recover my files. I then try to drag my USER FOLDER to trash but a Finder message pops up and say: It can not be deleted. The info window showed that all listed users are greyed out and clicking on the permission (read & write & read and write) did not bring up any options, just as if you can not click it. I have unlocked the info window to allow changes using admin password.
    Is there anyway (maybe via Terminal.app) that I can override file permission and allow me to delete this USER FOLDER that is on the SSD drive?
    Thank you for answering.

    Hi there! Welcome to the Apple comminity.
    In Terminal, this is how you override something: Add "sudo " before your command. Here's an example:
    sudo rm -Rf /Volumes/SSDdrive/Users/*
    It will then prompt you for a password (if you are an administrator on your computer). Good luck!
    Cheers.

  • Hello,  I have a strange file in my Users folder, named PortDetect.log I have no idea which app created it and it reappears when I delete it.  Has anyone got the same file? Or know where it may originate from?  Thanks in advance!

    Hello,
    I have a strange file in my Users folder, named PortDetect.log
    I have no idea which app created it and it reappears when I delete it.
    Has anyone got the same file? Or know where it may originate from?
    Thanks in advance!

    know where it may originate from?
    The Huawei wireless modem driver.

  • My user folder has disappeared from my hard drive though if I do a find for it it says it is still there. Anyone know how to restore it. I can drag a duplicate from the find window onto the hard drive but don't want two copies with one hidden.

    My user folder has suddenly disappeared from my hard drive though if I do a find for it it comes up as still being there with all its data. Can drag a duplicate copy from the find window back onto the hard drive but don't want two copies there with one of them hidden. Any suggestions anyone?

    Did you update to 10.9.3?
    If you did then update to iTunes 11.2.1.
    That is the fix for that problem.
    Allan

  • Indesign CS 5.5 can't find fonts (..from User Folder, OSX 10.6.8)

    Hello there,
    Indesign CS5 can't find any font that is located in my User folder. (MacintoshHD > User > library > fonts).
    The problem is only in OSX 10.6.x and CS 5.
    Also installed CS3 has no problems to find the already installed fonts.
    And on a second Hardrive I've also System 10.5.x. INDESIGN both Versions have no problems to find the fonts in that system.
    Only the Combination from CS5 and OSX 10.6.x has that problem.
    Some Tricks already posted here, for example to put the missing fonts in the main structure  (MacintoshHD > library > fonts) works,
    also if creating a special »Document Fonts« file in the same folder, whre the problem documents are located.
    BUT: This is all just a temporary solution. It doesn't solve the main problem.
    Maybe it's, because the 10.6.x ist a upgrade from a 10.5.x TimeMashine Backup with the CreativeSuite already installed.
    So maybe I should install all the CS5 stuff new?
    Or is it a problem with the Login Structure?  I'm the only person working on my machine. So I'm logged with full Name and as »admin«.
    My User-Folder with my special preferences and fonts is named with another name (my nickname).
    I'm not such a Computerfreak…and don't know if that does means anything. No problems at all with that since years.
    Thanks for any good idea
    camino
    Message was edited by: camino07  Hi, Now, I've uninstalled CS5, delete fontcaches, restart computer an install CS5 complete again.
    But it's still the same. CS5 can't find the fonts. One special thing I have to add: One font, placed in the »Users > fontfolder, it finds the »regular « font style but not the »bold«.
    It's an »TT« font suitcase. (EngraversOldEnglish).
    Any ideas?

    Hi,
    I added here my spotlight results. Shell I really delete all the stuff?
    Seems, that are different sources, like fonts and some other stuff…
    thanks
    http://www.pikant-media.de/download/Fnt_Screen.jpg

  • Missing user folder from Workspace and FR studio

    Hi All,
    Recently we upgraded the workspace and applications... Initially there were all the folders, but i noticed that user folder from workspace and FR studio was missing... If anyone have come across this issue please let me know how to solve it.
    Awaiting for response, Thanks in advance

    Just to make sure I understand. When you double click the hard drive icon either in the sidebar or on your desktop (if you have it shown there) there is no users folder shown? If that is the case then it must somehow have become invisible. If there was in actuality no user folder at all your Mac would not boot.
    If that is the case then you may have to use the terminal to get it back. I can't help you with that though, sorry. Another possibility is that there is some sort of corruption in a cache file. You could use a tool such as YASU or others to do a light cache cleaning which may solve the problem.

Maybe you are looking for

  • ITunes won't open, different from other problems

    Yeah. I don't have Norton (I do have the windwows firewall and stuff, but I already have it on the allowed list) and I've tried deleting the file. I double click on iTunes (I've even tried from the actual .exe file in the program files) and I get the

  • Unicode hex input problem

    I have a MBP running Yosemite.  My partner has a MBAir running OSX 10.8.5 (M-Lion?) He needs to use some medieval characters in his writing as a grad student in ENglish. On both machines, we installed the Unicde Hex Input source and selected it. On m

  • Problem while exporting report

    Hi I have created report with 7 subreport with crosstab in some subreports.When i run report its giving me more than  2000 records within minute  But when i am going to export report into XLS or PDF or MS Word , its giving me timeout in crystal repor

  • Sending payload in ABAP proxy

    Hi all, i have a requirement to send the inbound payload in the mail content when any error occurs in ABAP proxy. How can I achieve this? Thanks

  • Notebook Touchscreen is non responsive

    There is NO title "HID-Compliant Touch Screen" under "Human Interface Devices". Human Interface Devices:                  - HID-Compliant wireless radio controls                 - HP Wireless Button Driver                 - USB Input Device That is i