Results 1 to 11 of 11
  1. #1
    Accidently moved my home folder into the core services

    Member Since
    Jan 25, 2010
    Posts
    5
    Angry Accidently moved my home folder into the core services
    Hello i was wondering if someone could help me with this issue. I recently purchased an apple tv and have hacked it. i wanted to to mount the apple tv in finder and due to my total lack of technical knowledge have somehow moved my home folder into the core services folder using terminal which is giving me a bit of a headache trying to put it back in the users folder. could someone please tell me what the command is for doing this as when i try to move via finder it wants to copy and i dont have enough space on the hard disk.
    The location of the home folder is now
    /system/library/coreservices/

    where it should be is
    /users/

    Any help would be most appreciated cos this is doing my head

  2. #2
    Accidently moved my home folder into the core services
    Lifeisabeach's Avatar
    Member Since
    Sep 30, 2007
    Location
    The Republic of Neptune
    Posts
    7,637
    To be perfectly blunt... people who have a "total lack of technical knowledge" shouldn't be trying to hack anything. /lecture

    As to your problem... I'm dumbfounded that there isn't enough space to copy the folder back to where it belongs. How in the world is it supposed to be even usable with that little disk space? If you are able to boot into your ATV menu, I would just do a factory restore and be done with it.
    Apple TV: How to perform a factory restore

    If you insist on doing this by terminal, try this command:
    sudo mv /System/Library/CoreServices/homefoldername /Users

    If it isn't obvious.... "homefoldername" is whatever the name is of the folder that you mistakenly moved.

    BTW... this command assumes you are using terminal directly on the AppleTV. If you are logged in to the ATV using SSH via another Mac, then you need to be sure you are properly connected to the ATV and running the commands on the ATV, not on the Mac you are using.

    Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
    ------
    Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
    ------
    Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.

  3. #3
    Accidently moved my home folder into the core services

    Member Since
    Jan 25, 2010
    Posts
    5
    hey thanks for the reply, point taken once i sort this out then i wont be mucking around with it any more. however, the problem is not with my apple tv (sorry if my explanation was confusing) the problem is on my mac. the copy of my home folder is in core services and the new location is causing all sorts of problems. it wont allow me to move my home folder back to users and it wants to copy it instead (thats why i dont have enough space) and also if i did copy i would be a bit dubious about deleting the original in core services. anything i do copy does not have the correct folder icons . basically i just dont know how to mive the folder back to its original location. any further help would be much appreciated

    thanks again

  4. #4
    Accidently moved my home folder into the core services
    Lifeisabeach's Avatar
    Member Since
    Sep 30, 2007
    Location
    The Republic of Neptune
    Posts
    7,637
    Holy moley! Ok... you need to log in as a user with admin privileges, and not the one with the missing home folder. From this new user, use the terminal commands:

    sudo rm /Users/missingfoldername
    I'm assuming OS X remade your missing home folder, but without your stuff in it. This command will delete that new one. Next:

    sudo mv /System/Library/CoreServices/missingfoldername /Users
    This command will move the User folder from where you put it back to where it belongs.

    Hopefully this will work, and more hopefully without royally hosing your permissions on your home folder.

    Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
    ------
    Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
    ------
    Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.

  5. #5
    Accidently moved my home folder into the core services

    Member Since
    Jan 25, 2010
    Posts
    5
    still not quite there yet
    ok i set up another user with admin privideges and tried this but when i try the sudo mv command it says: directory not empty, so i went into the accounts pane and clicked on advanced for my account and re-directed my home directory to the one in core services which has resolved a lot of my problems with bit torrent ect. also i was able to delete the ghost copy of my home folder from the users folder but couldnt manage to move my original home folder back there with that command?

  6. #6
    Accidently moved my home folder into the core services
    chas_m's Avatar
    Member Since
    Jan 22, 2010
    Location
    Victoria, BC
    Posts
    18,933
    Specs:
    Mid-2012 MBP (16GB, 1TB HD), Monoprice 24-inch second monitor, iPhone 5s 32GB, iPad Air 2 64GB
    You have committed THE cardinal sin of Mac OS X (or any Unix-based OS): moving the home folder.

    Here's what you should do (read the whole set of instructions before doing anything, this is a radical solution):

    1. Backup the misplaced home folder to an external drive.
    2. Erase the boot drive.
    3. Install OS X from your restore DVD that came with your machine, or your retail disc if you have one.
    4. Migration assistant will ask if you have accounts you want to restore from other hard drives. You do.
    5. It will put back and generally re-connect your "lost" Home folder to the proper place. You will lose anything you've saved to the "newer" Home folder, but that's presumably not a problem.

    You're now back to where you were (minus third-party apps you can reinstall/redownload from your original discs) before the mess.

    Two tiny mini-lectures:
    1. Hello, backup strategy! You need one!
    2. Don't let your boot drive get so full. Mac OS X needs a fair amount of "working space" and thus you'll often hear a faintly-ridiculous rule to keep at least 20% of your hard drive free. That's overkill, but the principle is correct: I keep at least 5x the amount of RAM I have open on the hard drive (because it will use that space for virtual RAM along with all the other temp stuff it does). Basically, if you are below 10GB of free space on a modern Macintosh, you are asking for trouble.

  7. #7
    Accidently moved my home folder into the core services
    Lifeisabeach's Avatar
    Member Since
    Sep 30, 2007
    Location
    The Republic of Neptune
    Posts
    7,637
    Against my better judgement, I decided to test out the commands I gave with a test account. My first one to kill the "ghost" folder was off a bit (I left off a modifier, but you handled it anyway). Ooops! But the second one was correct and worked for me as expected. I don't know why it didn't work for you... either you typed it wrong or used them in the wrong order, or something... whatever it was, it appears you didn't follow the directions correctly. And at the risk of sounding rude... I'm not surprised. You got yourself into this mess by not following instructions or typing commands properly.

    So I'm just going to echo what chas said. You are direly short on drive space as it is, and tinkering around with the command line is proving disastrous for you. Just BE VERY SURE to follow the directions!!!

    Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
    ------
    Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
    ------
    Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.

  8. #8
    Accidently moved my home folder into the core services

    Member Since
    Jan 25, 2010
    Posts
    5
    many thanks +a question about time machine and network storage
    hey thanks for all your help its all sorted now, and backups made! just 1 more question: finally got my 1tb external hard drive which is connected to apple tv mounted on my macbook (via macfuse and macfusion). now i want to back up to the partition which i used to back up directly but time machine does not recognize the hard disk now its on the network. Is there a solution to this?
    Thanks again.

  9. #9
    Accidently moved my home folder into the core services

    Member Since
    Oct 25, 2009
    Posts
    59
    How did you get your home folder there in the first place?

  10. #10
    Accidently moved my home folder into the core services
    Lifeisabeach's Avatar
    Member Since
    Sep 30, 2007
    Location
    The Republic of Neptune
    Posts
    7,637
    Quote Originally Posted by faz6502 View Post
    hey thanks for all your help its all sorted now, and backups made! just 1 more question: finally got my 1tb external hard drive which is connected to apple tv mounted on my macbook (via macfuse and macfusion). now i want to back up to the partition which i used to back up directly but time machine does not recognize the hard disk now its on the network. Is there a solution to this?
    Thanks again.
    Why on Earth is that external drive connected to the Apple TV? Why not just connect it to your Mac?

    Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
    ------
    Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
    ------
    Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.

  11. #11
    Accidently moved my home folder into the core services

    Member Since
    Jan 25, 2010
    Posts
    5
    the thing is ive got a macbook and i hooked up the drive to extend the memory of my apple tv and it also acts as network storage. just wondered if there was a way to get time machine to back up to it without unplugging it from the atv and plugging it into the laptop

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Office->Moved Home folder
    By microsnook in forum OS X - Apps and Games
    Replies: 16
    Last Post: 01-02-2012, 12:12 PM
  2. TM + CCC and MOVED HOME FOLDER
    By microsnook in forum OS X - Operating System
    Replies: 4
    Last Post: 12-31-2011, 02:15 PM
  3. Accidently changed my Home name and have lost all files.
    By LiamPearce in forum OS X - Operating System
    Replies: 1
    Last Post: 04-14-2010, 12:44 PM
  4. accidently deleted/moved boot camp partition.vmdkk
    By ghsusaxa75 in forum Running Windows (or anything else) on your Mac
    Replies: 1
    Last Post: 09-16-2008, 01:06 PM
  5. I moved my Home Folder.....
    By Zacariem in forum OS X - Operating System
    Replies: 2
    Last Post: 03-18-2007, 12:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •