How to repair messed-up folder ownership in Time Machine ?

Hi everyone,
I just reformated the MacBook hard drive using Extended HFS+, journaled partition to get rid of the case-sensitiveness, which is incompatible with just ONE of my softwares. As such, TM partition is formatted as Extended HFS+, journaled and case-sensitive.
I then created a temporary administrator to set everything up (Updates and such), then a second administrator (which is the one I'm using everyday). I didn't activate Time Machine backups, as I wanted to restore everything first, just in case something may go wrong.
As this is my primary work machine, I wanted to restore the "Documents" subfolder first, but Time Machine popped out a dialog saying that I wouldn't be able to see the files newly restored, because I don't have permissions to read and write them.
Indeed, I checked directly in the Time Machine tree on the external hard drive with Apple+I keys, and 'cubytus' was not listed in the permissions.
As far as I remember, I checked ownership in the Terminal, and wanted to change it using the commands:
sudo su -
[----Now I type my identifiers, and I'm in root mode; I then navigate to the Documents folder in the Time Machine tree I want to restore.---]
chown -Rv cubytus Documents
The last line is supposed to change every document ownership below this directory to replace it by cubytus instead of Admin2, as well as report every operation performed (I like having some feedback).
Turns out that every verbose line ends in "Permisison denied"....
I can add up the current admin in addition to the original one for each document, but it's very impractical since I have thousands of small files. Changing ownership is still the way to go.
Am I doing something wrong? Thanks for help
Oh, btw..I tried the Disk Utility pemrission repair thing, but it didn't found any problem on the Time Machine partition.
Message was edited by: cubytus
Message was edited by: cubytus

cubytus wrote:
Hi everyone,
I just reformated the MacBook hard drive using Extended HFS+, journaled partition to get rid of the case-sensitiveness, which is incompatible with just ONE of my softwares. As such, TM partition is formatted as Extended HFS+, journaled and case-sensitive.
This mis-match is likely to cause trouble in the future. If you have, for example, two files named "FileA" and "filea" in the same folder on the TM drive, and try to restore them to your case-ignorant HD, TM is going to have a problem. I've never tried it, so I can't tell you whether it will overlay the first one it restores with the second, or crash, or what, but it can't be done.
And you may have some of these without realizing it -- if you ever changed a capital to lower-case, or vice-versa, after a file's initial backup, it's a possibility.
Indeed, I checked directly in the Time Machine tree on the external hard drive with Apple+I keys, and 'cubytus' was not listed in the permissions.
No, TM automatically denies everything to everybody, among other things, in it's backups, to keep us mere mortals from messing with them. The original file permissions are kept separately, and TM should restore them along with the files, as they were.
What you're probably seeing is, the user that you're signed-on as won't have those permissions, once TM restores the files. I'd suggest trying the same procedure as your other, or original user -- see if you get the same message.

Similar Messages

  • How to access root apps folder again in Time Machine after a restore?

    I just did a Time Machine full system restore which worked, but now it doesn't look like Time Machine is backing up my root level apps folder. All of my root apps were indeed restored, but if I try to go into Time Machine with my (root) Apps folder open, it switches the folder contents to my user apps instead so I don't have access to the root apps in TM. It doesn't appear to be backing them up at the root level anymore either (nothing in the exclusions that would cause this). Any ideas on what happened here? I have just one admin level account on this machine.

    cubytus wrote:
    Hi everyone,
    I just reformated the MacBook hard drive using Extended HFS+, journaled partition to get rid of the case-sensitiveness, which is incompatible with just ONE of my softwares. As such, TM partition is formatted as Extended HFS+, journaled and case-sensitive.
    This mis-match is likely to cause trouble in the future. If you have, for example, two files named "FileA" and "filea" in the same folder on the TM drive, and try to restore them to your case-ignorant HD, TM is going to have a problem. I've never tried it, so I can't tell you whether it will overlay the first one it restores with the second, or crash, or what, but it can't be done.
    And you may have some of these without realizing it -- if you ever changed a capital to lower-case, or vice-versa, after a file's initial backup, it's a possibility.
    Indeed, I checked directly in the Time Machine tree on the external hard drive with Apple+I keys, and 'cubytus' was not listed in the permissions.
    No, TM automatically denies everything to everybody, among other things, in it's backups, to keep us mere mortals from messing with them. The original file permissions are kept separately, and TM should restore them along with the files, as they were.
    What you're probably seeing is, the user that you're signed-on as won't have those permissions, once TM restores the files. I'd suggest trying the same procedure as your other, or original user -- see if you get the same message.

  • How to restore the second volume from a time machine backup?

    Hi guys and gals,
    I have a October 2011 MBP running OSX lion (10.7.2), with 2 internal drives (the main drive is a 120gb SSD, the optic drive has been replaced with the original 750gb HDD that came in the computer). I use the SSD for all of my system files, with the HDD being used for my user account, which has my photo and video libraries on them.
    I use time machine to backup onto a 2tb external drive. In the beggining i was not sure how time machine would handle backing up two volumes, but after doing the first few backups then checking inside the time machine folder on the EHDD I was pleased to find that it was in fact backing up both volumes.
    Now we get to the problem I have. This morning I booted up my MBP, and it took a lot longer than it usually does, then when it finally booted it had a error saying that the user "chris" could not be found. My 750gb drive was not being seen from OSX. I ran disk utility and it was visible, but was not able to be mounted as it had an error. I did the verify permissions which came up OK, then did repair disk and it said that the disk had errors and to backup, format and re-install. As the last backup was done 2 days ago and I haven't done any important work on it since then, i didn't backup as I would prefer to restore to a point before the issue happened.
    I formatted the drive and started a time machine restore, but TM will only allow me to restore the SSD. I cannot see anything anywhere that will allow me to restore the 750gb drive. If i use migration assistant to transfer the files over from the EHDD to the 750gb drive, it won't recognise my EHDD (even though i am looking at it on the desktop and can open it and open files on it). If i try to transfer the files with finder, it says that i dont have permission to do this.
    I have spent the last hour looking for a possible solution or ways of doing what i need, but keep coming up blank.
    Hope someone out there can help me
    Cheers
    -Chris

    Chris W oz wrote:
    when it comes up with the "preparing to copy message" it hits ~24000 files and doesn't go any further.
    That sounds like some sort of directory problem.  Try Repairing the backups, per #A5 in Time Machine - Troubleshooting.
    I tried importing individual folders to reduce the number of files it was transferring in one hit and it doesn't hang. THe problem is after doing my users folder my desktop has changed and there are a lot of things that are not how they should be.
    I'm not sure what you mean. 
    Are you trying to restore to your user home folder while it's in use?  That could be part of the problem, but usually you'll get a message about things being in use, locked, or protected.  
    are there hidden files in the users folder that i am not seeing?
    Probably, but if you restore a folder, any hidden files should be restored, too.  Mostly they're the .DS_Store files where the Finder stores the last position, size, etc., where it displayed the folder, so no big deal even if it's lost.
    There are a few others at the top level of your home folder, but I think they'll be recreated as necessary.
    If i transfer the whole users folder will they transfer over (even though i cannot see them)?? Is there a way to transfer those hidden files??
    Why do you think there are hidden files that are causing a problem?

  • How do I restore smtp mail setting from time machine?

    Earlier today I was fooling around with my smtp mail settings and managed to mess them up.
    How do I restore smtp mail setting from time machine?
    I'm using Lion 10.7.4
    Messages and incoming mail works fine. It's just the smtp mail setting that's the problem.
    Any help greatly appreciated.

    The mail rules are stored in your ~/Library/Mobile Documents/com~apple~mail/Data.MailData folder, in a plist called SyncedRules.plist.
    If you're signed into iCloud D&D, that's where you'll find it.
    If you're *not* signed into iCloud, then you probably have a folder called something like ~/Library/Mobile Documents.####### where the # signs are actual numbers.  Digging into that folder, you'll fild the SyncedRules.plist file.
    Thing is, I don't know how Mail uses rules without iCloud; if there's a "local" rules location.  There probably is, but someone else who's not using iCloud may have to help you there...

  • How do I restore Groups to Contacts from time machine?

    How do I restore groups to Contacts using time machine?  I somehow managed to duplicate many groups and contacts in Contacts, so I deleted everything and tried to restore them using time machine backup  from a few days before.  It restored all my contacts, but none of my groups.  If you select a group and click restore it will restore all the contacts in the group, but not the group itself.  I had many groups with many contacts in each and would really prefer not to do this manually.  I can see the groups in the time machine backup, but cannot figure out how to restore them.  I know from researching online that with Address Books and previous operating systems you could go to ~Library/Applications Support/AddressBook  and restore the whole file, but either this operating systems hides the necessary files or Contacts is set up differently than AddressBook was.  I am using OS 10.9.5 and Contacts version 8.0 on a MacbookPro 13 inch mid 2010.

    Here is what I have tried:
    1. Finder>Go>(Option)Library>Address Book(highlighted)with files showing in right column. Opened Time Machine and Address Book folder is there. Tried to go back to several previous dates from several months ago. None will highlight in order for the Restore button to light up.
    2. Finder>Mac HD (under Devices)>(Option)Library>Address Book (same as above). Again, cannot go anywhere back in time to highlight a date for Restore button to light up.
    Note: I was able to use Time Machine to restore my Contacts with no problem. However, they are All Contacts only and did not restore my Groups. I do know how to make groups again and highlight and drag them back, but wanted to see if there was a way to restore the groups. I will post another question as to why my Time Machine won't let me restore the Address Book as well as the Contacts. Thank you for your time and patience.

  • How do I access my iphoto library on time machine backup external drive using Lion, originally saved from old computer and system

    how do I access my iphoto library on time machine backup external drive using Lion, originally saved off old computer and system.  It's not letting me open the folder???

    Once again here's how to restore an iPhoto Library from Time Machine:

  • The memory on my MAC is full. It holds 4GB of RAM of which 79GB are photos. I would like to back up my photos to an external drive but just don not know how. I do not wish to use time machine. How do I back up my photo library, then delete the them t

    The memory on my MAC is full. It holds 4GB of RAM of which 79GB are photos. I would like to back up my photos to an external drive but just do not know how. I do not wish to use time machine. How do I back up my photo library, then delete them from my MAC to free up that 79GB? Thank you.

    Hi
    Just to clarify a couple of points in your post.
    RAM (memory) is different from hard drive space. You have 4GB of RAM, but that has no bearing on the amount of drive space you have, of which we know that 79GB are photos.
    If those photos are in iPhoto, you should be able to move the entire iPhoto Library, from the Pictures folder, to your external hard drive. You can just drag and drop. Do not have iPhoto open while you're doing this. Once it's done, you can double-click on the moved iPhoto Library file to associate it with iPhoto, so that the app remembers where the library is for next time.
    One more thing. When you move a file to a different location, and then delete the original, you don't have a backup. You still only have one copy. So if that external drive dies, you will lose all your photos. Time Machine is a very good way to prevent this from happening. You should dedicate a different drive for Time Machine backups.
    Matt

  • How do I reformat my external drive for Time Machine?

    I think I might have messed up My Passport (external hard drive) when I disconnected my iMac to take it to the Apple Store to have the screen repaired (was replaced).  I turned Time Machine off before I disconnected the external hard drive but didn't eject it.  I reconnected everything Monday morning and it was backing up fine until this afternoon but suddenly stopped and gave me warning messages about it not being able to back up.  The message directed me to Repair Disk which I tried but that didn't work.  and I was "told" to reformat the drive.  But when I reconnect it to my mac, the mac doesn't recognize that its there.  I don't know if its worth trying to fix, or if I should just get a new one.  (I have an on line back up service so all my data is safe and backed up elsewhere).  I've only had the drive for maybe 6 mts, or a little longer and I know it was far from full.  I have Time Machine turned off now and the drive disconnected .  Is it worth repairing.  If there is something wrong with it a new one might make more sense.  I hope I have explained this okay.   Thanks for any suggestions.  It is a Western Digital external drive.
    laverne's mom

    WD drives are not all that reliable according to some reports going around.
    And BUS powered drives are not good choices for backups if it's drawing too much current, Apple can cut if off in a update, use self powered drives instead.
    You can use the drive, but as a transport drive, not as a vital backup.
    TM drive isn't quite as good as a backup as it could be, and online storage is slow to upload and can be compromised or lost (it's happened before) so you should diversify more with clones and storage drives in addition to TM drives.
    Read my backup, bootable clones, troubleshooting, performance, wifi security and restore info/advice here
    https://discussions.apple.com/message/16276201#16276201

  • How do i restore my iPhoto pictures from time machine to my macbook pro?  I just had to change my hard drive and need to add my photos.

    Macbook pro, 17 inch, early 2010.  Hard drive crashed so I put in new ssd hard drive.  Operating system OS X 10.9.4 has been installed. 
    Now I need to find out how to get my photos from my time machine and restore to my mac book pro??

    Inherit a Backup
    Inherit a Backup (2)
    Select your user Pictures folder and enter Time Machine.

  • How do I find my iPhone backup in Time Machine?

    I accidentally erased my Sleep Alert information from my iPhone.  My iPhone is backed up into my iMac, which is backed up by Time Machine.  How do Ifind my Sleep Alert information in Time Machine?
    I use Mavericks, but the search engine has sent me to Mountain Lion.  sigh

    If you haven't backed up your iPhone since erasing your Sleep Alert information you should be able to restore it via iTunes:
    However, that will restore all of the iPhone, not just that one setting.
    The backups are stored your Home/Library/Applications Support/MobileSync/Backup folder.  This is what's in the backup folder:
    One of my backups contains 4800+ files.  There's no way to know which of those files contain the settings you're looking and Spotlight can't index the parent folder so a Spotligh search will be fruitless.

  • How do I restore one contact from my Time Machine?

    How do I restore one contact from my Time Machine?

    From Time Machine Help:
    Restore items backed up with Time Machine
    If you use Time Machine to back up your Mac, you can easily bring back lost items or recover older versions of files.
    You can use Time Machine within many apps. If the iCloud Documents & Data feature is turned on, you can recover older versions of iCloud documents as well as regular documents.
    Open a window for the item you want to restore.For example, if you accidentally deleted a file from your Documents folder, open the Documents folder. To recover an email message, open your inbox in Mail. To recover an iCloud document, open the document’s app, choose File > Open, then click iCloud to view the iCloud documents for that app.
    If you’re missing an item from the desktop, you don’t need to open a window.
    From the Time Machine menu in the menu bar, choose Enter Time Machine. A message may appear while your Mac connects to the backup disk.
    Use the arrows and timeline to browse the snapshots and backups.White tick marks represent snapshots stored on your internal drive (portable computers only). Pink tick marks represent backups stored on your backup disk. If a tick mark appears dimmed or grayed, there’s no backup available or the backup disk is not connected.
    For more information about an item, double-click it.The windows in Time Machine behave just like Finder windows, so you can open folders, click items in the sidebar, and use the search field in the upper-right corner of the window.
    When you find the item you want to restore, select it, then click Restore. You can restore individual items, multiple items, folders, or your entire hard disk.The restored item is returned to its original location. For example, if the item was found in the Documents folder, it is returned to the Documents folder.
    Many apps let you use Time Machine within individual documents so you can examine and read the document’s past versions to find the version you want. For more information, see:
    View and restore past versions of documents
    RELATED TOPICSRecover items using Time Machine and Spotlight
    Recover your entire system
    Revert to a previous OS X version
    Use multiple backup disks
    Time Machine overview
    Time Machine problems

  • I lost everything in my iphoto library how can i restore the entire library with time machine?

    i lost everything in my iphoto library how can i restore the entire library with time machine? help!!!!

    Open the folder that contained the library and then enter Time Machine.  Select the most recent date that contains the library and then restore.

  • How do i change my computer hdd from time machine backup to normal so i can install mavericks

    How do i change my computer hard drive back to normal cant install mavericks on it HELP !!!

    Welcome to Apple Support Communities
    You have got the "Backups.backupdb" folder in the root level of the hard drive. This is the folder used by Time Machine to save backups to, and the Mavericks installer has detected that your hard drive is the Time Machine disk when it's not.
    To fix this, open a Finder window, select the Go menu (on the menu bar) > Go to Folder, and type:
    Then, delete the "Backups.backupdb" folder and empty the Trash. Finally, open the OS X Mavericks installer again and follow the steps

  • My hard drive died.  How can I start my computer with my Time Machine external drive?

    My hard drive died.  How can I start my computer with my Time Machine external drive?

    Pondini wrote:
    If you're on 10.7.2, yes, you can boot from the TM drive.
    Beep, beep, beep....
    Hold ON! Getting a call on the red phone.
    "Yes...yes.... ok!"
    It's confirmed, H.e.l.l. has finally frozen over!  TM drives are now bootable!
    Still it's not a real bootable clone, can't run the computer off the external drive for long in only Recovery mode, still requires the boot drive to be replaced if it not functional, and with TM backing up every hour, isn't going to offer much software protection as the TM drive is just as likely to be as messed up as the internal boot drive.
    For a iMac it still requires the computer to be taken in to Apple for a drive replacement, as ONLY Apple can do it due to proprietary connections and firmware on the iMac hard drives.
    But it is bootable!
    The backup time factor can be controlled using TimeMachine Editor, from every hour to just when the user thinks it's necessary.
    Apple lurches slightly forward!  Hurray!
    Question is, can one restore from earlier stable TM's or just the last one? In this bootable fashion?

  • I am trying to download lion with the thumb drive how do i back up my files is time machine good enough or must i transfer everything to my hard drive

    I am trying to download lion with the thumb drive how do i back up my files is time machine good enough or must i transfer everything to my hard drive

    A erase of the drive or boot partition is not always necessary.
    Flashing question mark at boot could be a easy fix, sometimes it's the firmware that simply forgot what bootable volume to boot from.
    Try holding the Option key down while booting the machine, a choice of bootable options appears, select your OS X and boot up.
    When you get in, head to System Preferences > Startup disk and set it again new. This will tell the firmware what to boot from. Test it to see.
    Now if you don't have a selection of bootable options, it could be that the drive is dead, or OS X is erased or corrupted so it can't boot.
    You'll have to run through this list of fixes to see what's going on, if you need a hardware fix or what, I've also included links if you can't fix it and need to recover your data etc.
    (If it's not remmebering your boot selection then also run through the list to reset things.)
    Step by Step to fix your Mac

Maybe you are looking for

  • Cinema Display Vertical Line

    Hi, My Cinema Display (LCD, 21" I believe, came with Powermac G4 MDD 2003) has had a pink / red vertical line in it for quite some time now. It seems to sometimes change color, but is usually redish. It sits right in the middle of the screen, and goe

  • After Up-Gradation to SharePoint 2013 Web Parts Stopped Working.

    Hi, I upgraded SharePoint 2013 from 2010. After up-Gradation my existing web-parts are no more working. I also tried after upgrading web part for 15 hive but still same issue. When ever I click on button it takes me to error page and shows message "

  • Parameters for Ingesting wide fixed-length files?

    I created an SSIS process to ingest fixed-length text files into this table. CREATE TABLE [dbo].[Temp_Source_Fixed](  [Column 0] [text] NULL,  [ID] [int] IDENTITY(1,1) NOT NULL,  CONSTRAINT [Temp_Source_Fixed_ID] PRIMARY KEY CLUSTERED  [ID] ASC )WITH

  • FaceTime not working on Ipad Mini

    Hi. Hoping someone cn help. Currently travelling in Asia. My Ipad Mini has stopped working with FaceTime. Have been in communication with home for months with no issue and suddenly it will not answer or dial out. Simply gives a busy signal!!!.  Will

  • Can I sync my iPod nano directly with my ipad min?

    Can I sync my iPod nano to my ipad mini with out a computer?