Keep loosing access to my home folder

Hi,
Could you please help to diagnose my MBP? I've been struggling to do it for a couple of weeks now
The MacBook malfunction in two different ways:
A. Keep loosing access to my home folder (usually when I'm browsing in Safari):
1. The system stops to being responsive for 15-30 seconds, and then
2. In Finder -> Places my home folder (wk) alias is missing, and I get the error "The alias "wk" can't be opened because the original item can't be found"
3. In /Users the permissions to the folder are being changed (I haven't noted what exactly are the permissions), and I get the error "The folder "wk" can't be opened because you don't have permission to see it's contents"
4. kernel.log shows I/O errors for disk0s2
5. Disk utility verification shows the filesystems is in a perfect state, but the regular problems with /System/Library/java/* permissions won't be fixed
6. System reboot fixes the issue 
B. Kernel panic (the very first I've seen happened four weeks ago, and then three followed during the previous week)
1. I got the usual grey screen, and reboot
2. kernel.log shows Page Fault, in all cases with kernel as the "app in focus" 
I've taken the following steps to diagnose the problems:
1. Disk Utility verification shows the filesystems is in a perfect state, 
2. There're always a problem with permissions in /System/Library/java/... (always fixable)
3. Run extended AHT in a loop (no problems found) - didn't help
4. Reinstalled the OS - didn't help with problem A, although problem B hasn't happened ever since (a coincidence?)
5. Put back original RAM dice  - didn't help with problem A
6. Zeroed the HDD and installed from a scratch - didn't help with problem A
7. Exchanged HDD to a brand new one (was planning to do that either way) and restored the OS from point 6. - didn't help with problem A 
Hardware Overview:   
Model Name:     MacBook Pro  
Model Identifier:     MacBookPro5,5  
Processor Name:     Intel Core 2 Duo  
Processor Speed:     2.26 GHz  
Number Of Processors:     1  
Total Number Of Cores:     2  
L2 Cache:     3 MB  
Memory:     4 GB  
Bus Speed:     1.07 GHz  
Boot ROM Version:    MBP55.00AC.B03  
SMC Version (system):     1.47f2 
*** 10.6.7 with FileVault ON, no Apple Protection Plan ***

another kernel panic:
Description:     Panic (system crashes) log  
Size:     7 KB  
Last Modified:     11-06-23 2:58 PM  
Location: [...]  
Recent Contents:   
Interval Since Last Panic Report:  269443 sec
Panics Since Last Report:          1
Anonymous UUID:                    [...]
Thu Jun 23 14:57:30 2011 panic(cpu 1 caller 0xffffff80002cffca): Kernel trap at 0xffffff80003094f9, type 14=page fault,
registers: [...]
Error code: 0x0000000000000002
BSD process name corresponding to current thread: syslogd
WK-MBP:~ wk$ egrep "error|jnl" /private/var/log/kernel.log
Jun 21 07:10:59 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 21 07:13:33 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 21 07:13:33 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 21 07:21:42 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 21 07:22:13 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 21 07:22:43 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 22 08:59:44 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 23 07:39:53 WK-MBP kernel[0]: jnl: disk2s2: replay_journal: from: 59983872 to: 61315072 (joffset 0x1d1a000)
Jun 23 07:39:53 WK-MBP kernel[0]: jnl: disk2s2: journal replay done.
Jun 23 14:57:26 localhost kernel[0]: jnl: unknown-dev: replay_journal: from: 33260544 to: 37344256 (joffset 0xe8e000)
Jun 23 14:57:26 localhost kernel[0]: jnl: unknown-dev: journal replay done.
Jun 23 14:57:47 WK-MBP kernel[0]: jnl: disk1s2: replay_journal: from: 40641024 to: 41664512 (joffset 0x1d1a000)
Jun 23 14:57:48 WK-MBP kernel[0]: jnl: disk1s2: journal replay done.
Jun 23 15:16:49 WK-MBP kernel[0]: disk0s2: I/O error.
Jun 23 15:16:49 WK-MBP kernel[0]: jnl: unknown-dev: do_jnl_io: strategy err 0x5
Jun 23 15:16:49 WK-MBP kernel[0]: jnl: unknown-dev: end_transaction: only wrote 0 of 110592 bytes to the journal!
at 07:40 I lost access to my home folder (permissions), at 14:58 the system crashed (kernel panic), at 15:16 lost access to home folder again:
WK-MBP:~ wk$ ls -l /Users
total 0
drwxrwxrwt  4 root  wheel  136 16 Jun 07:58 Shared
drwx--x--x  3 root  admin  102 23 Jun 14:57 wk

Similar Messages

  • How do I install OSX onto a new SSD (in the place of my optical drive) without transferring all data across.  However, with the applications, system and library on the SSD to improve the speed, but keep non essential items (the home folder) on the HDD

    I have a mid 2009 13 inch unibody 2.53GHz MacBook Pro.  I'm finding that it doesn't run as quickly as it used to. 
    A genius in the Apple store suggested that I replace my optical drive with an SSD, however only use the SSD for OSX, applications, system and library.  Keep all documents, pictures, music etc on the current hard drive. 
    I would be grateful if someone could help me with:
    1) installing OSX on the SSD without copying across data from the current hard drive
    2) transferring applications, system and library folders across to the SSD so that they still function
    3) changing my settings so that OSX reads the home folder from the current hard drive, as well as all the applications' data (documents, music etc...)
    However, I would like to run iMovie, with all events etc solely from the SSD to speed up the process of editing movies.
    If anyone could help with this, it would be much appreciated.

    If you got the data transfer cable with your SSD, the procedure should be pretty simple - and there should be step-by-step instructions in the box. You're simply going to remove the bottom case of your computer (using a Phillips #00 screwdriver), take out the two screws in the bracket holding the hard drive into place (using same screwdriver), remove the drive and (use a Torx 6 screwdriver) remove the four screws that hold the hard drive in place. Then put in the SSD and reassemble the machine.
    Then you'll plug up the old hard drive by using the SATA to USB cable and use the option key to boot from the old drive. I don't know what data transfer software Crucial provides, but I would recommend formatting the SSD  using Disk Utility from your old drive ("Mac OS Extended (Journaled)" with a single GUID partition) and then use Carbon Copy Cloner to clone your old drive to your new SSD (see this user tip for cloning - https://discussions.apple.com/docs/DOC-4122). You needn't worry about getting an enclosure since you have the data transfer cable and you don't want to use your old hard drive.
    There are a number of videos on YouTube that take you step-by-step through this procedure - many specific to Crucial SSDs and their data transfer kit - do a little searching there if you're unsure of how to procede.
    Clinton

  • My iphone 3gs keeps loosing wi-fi at home

    Has anyone got any ideas as my phone keeps loosing the wi-fi connection at home. Its only in the next room but keeps disconnecting. Please any ideas would be great.

    Please try the following:
    1. Reboot the router by unplugging the power cord. Often your phone will reconnect after you do this. If not,
    2. Reset the phone network settings - tap Settings > General > Reset > Reset Network Settings. When the phone restarts, see if it will reconnect. If not,
    3. Tap Settings > WiFi > Other. Re-enter your network name, security, and network password.
    A couple of other tips: Keep your router firmware up to date and replace WEP with WPA2.

  • Reinstalling lion server but keeping users/groups including their home folder, mail, etc

    I need to reinstall my lion server due to some changes in the DNS. I have a time machine backup of the server.
    Is there an easy way to transfer/migrate only user data (home folder, mail, calendar, address book).. I do not need to recover the whole server as some services need to be reconfigured.
    Can I use the installtion program as there is an option to migrate from other serves? If so, can I select what to migrate?
    Thanks

    Migration can be handled by the installer or run post-installation by launching /Applications/Utilities/Migration Assistant.app. You'll get three checkboxes: User accounts, applications and "other data." You can exclude certain users from migration, but you can't otherwise alter the list of files brought in from your backup.
    You might choose to migrate users and applications, then, post-install, mount your Time Machine backup as a volume and copy over whatever arbitrary data you want to recover. Don't forget to turn Time Machine off so you don't risk clobbering your backed-up data.
    Best of luck.

  • I keep loosing access to mobile link

    I have mobile link on, but very often it turns it self off, then I have to type my password again.
    Yesterday a file failed to upload, but I didn't mind it since I thought it was saved on my internal memory, since I could reopen it and still see my notes. What is worse is that the mobile link turned itself off and then the document wasn't listed on the recent files or anywhere, so I set up mobile link again and there it is my document without any annotation.
    I'm not doing anything with the app's cache, it's installed on the internal memory, the issue happens even if the app was left open a few hours ago.
    Is the some cache or temp file were I can retrieve my file with notes?
    Please, it's a very important file with a full day worth of work.

    I have mobile link on, but very often it turns it self off, then I have to type my password again.
    Yesterday a file failed to upload, but I didn't mind it since I thought it was saved on my internal memory, since I could reopen it and still see my notes. What is worse is that the mobile link turned itself off and then the document wasn't listed on the recent files or anywhere, so I set up mobile link again and there it is my document without any annotation.
    I'm not doing anything with the app's cache, it's installed on the internal memory, the issue happens even if the app was left open a few hours ago.
    Is the some cache or temp file were I can retrieve my file with notes?
    Please, it's a very important file with a full day worth of work.

  • One Solution: Offload Home Folder Items with Mavericks on SSD

    One Solution for offloading home folder items in Mavericks with a small SSD
    Like others I wanted to use my SSD as the boot disk because of the speed gain and at the same time knew that its 120 GB capacity would not accommodate my basic 10.9.1 installation AND my 93 GB folder of documents.
    Two other factors lead me to seek a solution: 1) When I updated from Mountain Lion to Mavericks my computer became extremely sluggish. 2) I was desperate to find a way to access the hundreds of documents and drawings that I had made in AppleWorks over a period of many years, all of which could not be opened in Mavericks (or Lion or Mountain Lion).
    Solution to the second problem was LibreOffice to be found at libreoffice.org. This opensource application is one of the greatest finds in my 30 years of using a Macintosh. So far, I have been able to open every AppleWorks document tried. How it is that Apple with its billions in the bank cannot offer such an application with similar features is beyond my understanding. Don’t forget to support them with a donation.
    Solution to problem number one was to back up my one-volume, 1 TB internal hard disk and to erase and reformat the disk using three partitions (volumes). On partition one I installed 10.6.8 (Snow Leopard), on partition two I installed 10.8.5 (Mountain Lion) and I left partition three blank for any future experiment that might be needed. Although I much prefer to have a single internal hard disk matched by a single external hard disk, I finally concluded that this would be best for now. While I plan to learn LibreOffice, I have thousands of hours working with AppleWorks and can, if necessary, create a drawing in that application without spending a lot of time learning a new feature. Also, keep in mind that a person may resize the volumes on a single disk by using Disk Utility.
    Redirecting the user folder is not as easy in Mavericks as it was in Mountain Lion and I did not trust myself to use the Terminal. So I experimented and quickly discovered what appears to be a work-around.
    First of all, keep in mind that your home folder contains seven folders, i.e, Desktop, Documents, Downloads, Movies, Music, Pictures and Public. For myself, the Desktop and Public folders are never a problem. In using xScan I can instantly view the usage of all my disks and volumes and do not allow Downloads to accumulate. Movies I save to a designated external disk. All my music is accessed by iTunes and I believe that you may move the iTunes library to another volume, then link to it as I will explain in a moment regarding the Document folder. All pictures are maintained in iPhoto and you may link to the appropriate folder and/or file in the same way as iTunes. That leaves me with my 93 GB folder of documents.
    I solved this problem simply by opening (⌘-O) a window for both the 10.8.5 volume and the SSD disk. See below:
    I then located and clicked on my Documents folder in the 10.8.5 volume and dragged it to the Sidebar of the SSD window. Now when I create a document and want to save it to my Documents Folder, I simply locate the Documents Folder on my 10.8.5 volume in the Save As window. When I wish to work on that particular document again in the future I can do so in one of several ways: 1) If the application is open I can to to File → Open Recent, or I can simply click on the Documents icon in the sidebar of the SSD and I have the view set so that I can quickly view those documents opened by Today, Yesterday, Previous 7 Days, Previous 30 days, etc.
    Folders within the Documents Folder, such as Correspondence, can be dragged to the SSD Sidebar in the same manner.
    Keep in mind that the side bar for the SSD drive with Mavericks will display a Documents icon that look like two sheets of paper rather than a folder. If having two documents icons confuses you, simply remove the Mavericks Document icon.
    Caution: After arranging the above, do NOT eject the volume containing your Documents Folder because that will break your link and you will have to repeat the procedure. If having numerous icons on your desktop bothers you, simply click on the Desktop and go to the Finder Menu and uncheck External disks.
    Erasing a disk and arranging a computer as I did requires a lot of time. Also, keep in mind that I did NOT transfer any preference files because I feared that my problems may have been caused by one or more corrupted preference files. So, remember to have a printout of your passwords and the serial numbers before starting. I can only say that I went from a very slow computer to a lightning fast computer.
    Admittedly, I may encounter some problem(s) that I have not yet encountered — and I would appreciate any feedback — but so far everything is working like a champ!
    I will state that this will probably be the last update that I make on this 27-inch, Mid 2010 iMac. While updates have always proved to have problems, I am not happy with the new Mavericks interface. In my opinion, Apple made a big mistake in firing Scott Forstall. And as you know, a FREE OS may — and did for me — require costly updates.
    Any feedback to my suggested solution will be appreciated.

    I forgot to insert this graphic

  • Finder cannot open HOME folder - "There is no default application specified

    HELP! Starting this morning, after a reboot, Finder will not open my home folder. If I open a Finder window and try to open "jen" which is my wife's home folder (and what we're logged in as) Finder says "There is no default application specified to open the document Jen". If I go to this folder through Macintosh HD->Users->Jen I get the same message.
    If I click on this folder in the Finder window it doesn't show an arrow indicating that it is a directory and under the "Preview" pane, it shows the house icon, but says the "Kind" is a "Package" (??).
    HOWEVER, everything else still works. The desktop is populated. All the applicatiosn like Itunes and Iphoto find the photos and songs.
    If I go into Utilities->Terminal and use the bash shell I can see that the /Users/jen folder IS intact and all of the files are there.
    Is this some type of Finder damage?
    Ideas on how to fix?? I'm a Windows and Linux expert, but pretty new to Mac, so I'm perplexed.
    I thought maybe a permissions issue, and I tried the disk utility->Repair disk permissions and that didn't help.
    This is what the "jen" folder shows for permissions and attributes in the bash shell:
    cd /Users
    ls -l
    drwxr-xr-x 28 jen jen 952 Dec 21 09:38 jen
    I MIGHT have injected this problem, because I was having a problem where I could not see volumes on the desktop when I double clicked a DMG file (it worked before), and I was playing around with a few DMG images, and I tried one on the Apple website called dragster which said it changed Finder and then I uninstalled it. I think the problem started after this.
    I THINK everything else is fine, from what I can see.
    Help would be GREATLY appreciated!
    Thanks,
    Greg

    For those who may hit this problem in the future, I figured what my solution was, and called Apple support and they confirmed it was my best option. To fix it:
    1. In NetInfo Manager, enable root access.
    2. Log off.
    3. Login as root userid with the root password (make sure you set one in NetInfo Manager)
    4. As root, copy the folder, which Finder thinks is a 'package' to a backup drive or if no backup drive then some other location outside of /Users.
    NOTE: I found if I clicked on the Users/<userid> folder once to highlight it in Finder, then under the gear icon chose "Open Package Contents" it would launch a finder window and show you all of the files in the users folder - that way you could grab them and copy them over if you wanted to do it that way, but dragging the 'package' over works fine too. One other option, in the bash shell IF YOU ARE COMFORTABLE:
    cp -R /Users/<userid> <backupdrive>/<backupfolder>
    5. Once you are sure you've backed up the damaged users folder, go into System Preferences -> Accounts. Delete the damaged users userid. When it prompts you if you want to delete immediately, you should probably not click that but instead click the button to create a backup image of the users home folder. This will create an image in /home/Delete_users/<userid>.dmg that is a another backup of the users data. Then the /Users/<userid> data is deleted and the account is gone.
    6. Recreate the user account, setup the same settings as you used before.
    7. Copy the data from the backup drive/folder to the new /Users/<userid> folder. You don't have to copy all of the data back, just the users settings and personal files. You can find info on what is users personal folders vs control folders elsewhere. I guess if in doubt copy it all back over.
    8. Next, you need to give the userid permission to their files since they will be set to be owned as root since root copied them out and back in.
    In Applications->Utilities->Terminal
    chown -R <userid>:<userid> /Users/<userid>
    So I did:
    chown -R jen:jen /Users/jen
    That sets jen to be owner of all files and folders under /Users/jen
    9. Logoff as root.
    10. Login as the once damaged userid. It should work, all settings should still be intact, and you should have a normal 'home' folder you can get into through Finder.
    11. Go into NetInfo manager and under the 'Security' menu 'Disable root access' to disable the root userid again.
    12. Keep your backup of your home folder for a while until your comfortable everything has been restored.
    There MIGHT be an easier way to reset this, maybe with some AppleScript, but I don't know it.
    There you go.

  • Smaller home folder for encryption  - cant move movies

    i wanted to set up file vault and encrypt my home folder - but i have a lot of movies and music and pictures- so it would be wasteful to encrypt all that.
    i dragged the movies from my home folder to the first window that opens when you open the drive, but that didn't seem to move them out of my home folder which still lists 60gigs.
    where should i move these items to, to keep them out of my home folder for fast encryption?
    also, on a mac it seems hard to move a folder to another location on the same drive. if i drag it there the computer spends time copying it there and then i have to delete it. i've found a way to make this happen in automater but its not so easy and doesn't work great. is there a shortcut for simply draging files to where you want them to be without them copying? (i'm talking about within one drive)
    thanks for your help,
    m

    If you are on the same volume dragging and dropping any file or folder "moves" the file or folder. If you use COMMAND-C to "copy" a file or folder and COMMAND-V to "paste" it in another location then this "copies" the file or folder. If you open a Finder window on your "source" and another one on the "destination" then you can simply drag the file or folder from the "source" window to the "destination" window. This will "move" not "copy" the "source" to the "destination."
    If you don't want to encrypt your Movies, Music, Pictures folders then copy them to an external hard drive and delete their contents from the internal drive.
    Alternatively, you can create a separate user account in which you will only keep your sensitive information and encrypt that account leaving the other account unencrypted but containing no sensitive data.
    Alternatively, put all your sensitive data into a separate folder and encrypt the folder. For added security get an external hard drive and store the encrypted folder on the external drive. You can then disconnect the external drive and lock it away for added security.

  • How do I restore the user to the home folder permissions?

    I just got an iMac from a friend and had changed the username and password for the administrator user.  Then I was going to change the home folder name.  I was looking at the info on the home folder (which at this point is still tied to the old user).  I inadvertantly removed the user from the permissions before adding the new username or even allowing all users to access the home folder.  Now I cannot access the home folder at all.  How do I restore the permissions to the home folder or add the user back to the allowed users with access to the home folder?

    dalefromdallas,
    First you should do a clean install of the computer, while your friend may have included apps, they do not belong to you unless your friend gave y ou the install media and license codes. Considering the machine is also running 10.9.2. this machine will be forever tied to his AppleID which exposes him financially. You should get the 10.6.X DVD from your friend (I'm assuming he upgrade from 10.6.x at some point) and do an erase and install, then update it to 10.6.8 then upgrade yourself to 10.9.2 Mavericks. Then you will have a clean system, otherwise you will be working with a pretty kludged system that will probably be trouble.

  • Sharing the Home folder & all sub folders

    I've had my mac networked with a couple of Windows PCs for a long time. Now I've bought another mac & have networked them together. So I'm not new to networking, but am new to networking 2 macs together.
    With the PCs I could access the mac Home folder & copy files from any of the sub folders (Documents, Pictures etc.) to the PCs. And vice versa, from the mac drag files & folders from within the Home folder to the PCs to copy them over.
    Now as I understand it networking between macs you only share files between the Public folder & Drop Box folder with the Public folder. Is that correct?
    If so can I share the whole Home folders on both macs so that from 1 mac I can mount the other mac's Home folder, send files & folders to the other Mac & also copy files over from the other macs Home folder?
    I'm guessing this is possible. I went to 'Get Info' on the Home folder & it looks like if I set permissions so they are as follows:
    Owner: 'my name'
    Access: Read & Write
    Group: admin or 'my name'
    Access: Read & Write
    Others: Read & Write
    Then clicking on 'Apply to enclosed items' it should work as I want? Or Shouldn't I be messing with the permissions? If not is there another way for me to achieve what I want to do?
    Power Mac G5 Dual 2.3, 2.5 GB RAM, 20 Cinema Display | MacBook Pro 2.0 Ghz   Mac OS X (10.4.6)  

    Matt:
    Sorry, I should have said that this is how I've been trying to do it.
    I can mount both Home folders on both computers & browse them. But when I try to copy files from 1 location to the other I get error messages saying:
    'The operation cannot be completed because you do no have sufficient priveliges for the some of the items'.
    Having said that some items will copy over even after receiving the priveliges message. But it's very annoying having it pop up every time.

  • Networked home folder

    Dear readers and admin's
    A friend of mine which does support a Mac Mini Server 10.6.8 in a school does have the problem, that he is able to access the networked home folder of users as long as the client system is 10.5.x or newer, but if he tries to access the very same home folders from systems with 10.3.x or 10.4.x, he is not able to login.
    Unfortunately, I didn't find a clear declaration or statement that this is possible or not.
    Does anyone have such a setup or can anyone give me some notes, help or tips?
    Thank you in advance for your help.
    Kind regards
    Thomas Thaler

    The problem is solved.
    It was a dying switch. After exchange, the users where able again to access their networked home folder from 10.3/10.4 clients
    Thank you again.
    Kind regards
    Thomas Thaler

  • As Admin I can't access users home folder - (usershare)

    How can I access user's home folders
    Setting up a new server and copied users home from SBS 2003 but having setup all the users I cannot access the users home folders as Admin at the Server console.
    Obviously I can login to a users PC and upload the files from the but...
    This is something I need to do frequently for users.
    *** Edit ***
    If I enable the disabled "Administrator" account - I am then able to access the folders!
    (I would like to keep Administrator account disabled)
    I added Admin to the Administrators group but that didn't work either!
    I suppose I I work around by enabling administrator account but would much rather allow Admin to have same rights.
    ChrisS

    Hi
    There is a GPO that controls the Redirected Folders.... the default in SBS is to restrict users redirected folders exclusively. That means 'Administrators' can not access the files, only the specified users who own it.
    Ironically i also find this restricts viewing the files on these folders in the proper backup
    To fix this you need to do a number of steps.
    1. First of all remove the tick from the GPO for Exclusive access to redirected folders. When this is done any new users you add, the administrators (security group) will be able to access the folders and files.
    However this will not fix the ones made when the PO exclusivity was enabled. To fix this there are methods on this forum about PowerShell access, and guides, all very complicated... but neded if you can;t access your users accounts. Like you I created 3
    users before noticing this GPO issue.
    I found a way around it.
    User 1 is restricted.
    1. So go to a client computer and log on as User 1
    2. navigate to \\server\redirected folders\User 1
    3. Select the Documents folder and right click, properties, security
    4. Add the Administrators (note the s, administrators, not administrator) and give Full Control
    5. Do the same to the Desktop Folder
    You need to do this for each User that is restricted, as each User that is restricted. Each User owns their Desktop and Documents folder and can therefore apply whatever security they like to it.
    The difference the GPO exclusive makes is whether or not Adminsitrators are added to the security for those folders, you are just manully setting this up
    You do not need to take ownership, do not need to run powershell. Admitedly if your users are remote users, and you are never at the clients with the server, then I agree maybe the Ownership and Powershell route is the way to go, but odds are you will visit
    the client and be able to do this on site s the user is logged in. This is the quickest and Easiest way
    Tris

  • Home directories loosing access rights - Urgent help required

    We have just migrated around 2000 user accounts onto a new xserve server and we have just set up these user accounts so that there home directory is stored on the server as opposed to locally on each machine. To get past a serious performance issue we changed the rights for the group so that only the owner could see there own directory and they had full read right access. Now there is one group and around 2000 user folders in that group, with each folder having the specific owner. Now after we made this change to the rights for the group to be none, and the owner as read/write access to the folder. We pushed this out using Workgroup manager and applied the changes to all child folders and files. Now in theory, when a user logged on they would only be able to see there own home directory and no one else’s on the server - and this is what happened, for the first 5 minutes... and then without making any changes to their server or the client machine, the user then lost access to their own home directory. The only way we have been able to get around this is to allow the group read access to the parent folder, so if a user navigates through to the volume on the server where these home directories are stored then they will be able to see all 2000 folders (but not access any data in them) Now this would not be such a big deal for us to fix ASAP, however it does cause the client machines to go very very very slow when browsing to open files through various programs. E.g. when you click file and then open in Photoshop or whatever the pinwheel will come up and start to spin for at least a min or so before it brings up the finder. I am assuming that this is because the machine is trying to look in all 2000 odd folders. Does anyone have any idea or suggestions on how we can get around this issue or what we are doing wrong?
    We are about to split the users up into groups of around 200, which should have been done from the start (BTW we did test this on a test server before implementing it, however it is murphies law that new bugs had to come up)
    Any help would be greatly appreciated.
    :S

    Thanks for you suggestions; we only used workstation manager to change the preferences. We were trying to change the rights so that the students would not even see the other student’s folders. We ended up setting up the rights similar to how you suggested, but there was still slow performance issues browsing to folders in the finder, because machine would get to the directory /Volume/server.address/mac_students and then search through 2000 folders (And maybe try to index) before going to the next level being the students home directory. So we split the 2000 users into 10 groups (Which really should have been done from the start) This enabled the finder to load a lot faster, but students could still see the top level folder of the other students in the group, but hey at least we were not faced with a "ohhhh boy, it is Monday morning and no students can log in" situation... We will be tweaking the image that is on all the clients to have the default locations in Photoshop and Quark etc to point locally, but that will be a bit of a longer term thing.
    I guess my real initial question was if we made a mistake with the rights on how we set them up, why did it work on the test server the whole time, and even on the live server for a few minutes, I would have thought that if the rights were wrong, then it would not have worked from the start?
    Never mind it is working now, which is the main thing.
    Another question though, for anyone that is reading, is how to you change the preferences of spotlight and where it saves its data.. Basically when a student logs onto a new computer, spotlight indexes and saves results in each folder and we would like to prevent it from indexing and saving to the home directory (Because this is on the server) We can actually see the CPU of the server go up when a student logs onto a machine that they have never logged into before and spotlight starts indexing the new machine. And preferably we would like to not disable spotlight on all the client machines - as students will no doubt like to search. Also should we disable spotlight on the server end? I guess this would improve performance a bit as well.
    Thanks in advance for any suggestions

  • "The home folder...isn't located in the usual place or can't be accessed" after 10.9 AD bind.

    Okay a little backstory here because I'm trying to eliminate or identify what I feel might be a bug in OS X Mountain Lion and Mavericks.  Just FYI, I'm not our institution's AD admin, I just have rights to bind and query for this and that, but I can't make changes or really investigate our AD domain server/s:
    So we're an educational institution with lots of adjuncts that come and go each year.  Recently in August, I had about 5 cases where these adjuncts couldn't log in because of a cryptic "login failed" error.  I have my macs setup to create mobile accounts without confirmation.  I don't want ANY syncing going on just local user accounts created, but something in the profile creation process demands access to their network home folder.  Well these 5 users were brand spanking new and somehow didn't have permissions to their own network home folders that everyone else hasn't had a problem with before.  I had our admins fix the permissions, and they were able to login thereafter.  Our admins are still looking for what might have caused this, but still don't know....
    Recently I've been testing the same AD bind script I've always used on Mavericks.  It's a simple bash "dsconfigad" customized for our institution.  It seems to work successfully but on the login screen I get no usual "arrow" that allows me to back out and click "Other" and login to AD.  I reseated the Ethernet cord and checked the AD configuration in Directory Utility - it was all set correctly as per the script parameters.  When I clicked OK and exited out to the login screen, the Other option was working correctly.  I was able to login with my own credentials just fine.
    I needed to tweak my image a little so I wiped and reloaded the machine with the new image (nothing relevant to binding and users was changed).  Got the same "no arrow" issue and tried the same steps, which again worked after some monkeying around.  I tried to login with my credentials - failed.  Now I get "The home folder for user 'my username' isn't located in the usual place or can't be located."  I went into a local user admin account and tried to add my home folder manually, nogo.  I logged onto a windows machine and tried to mount the same home folder in Windows - access denied - this is the SAME type of thing that ended up happening to my adjuncts.  I don't know if they are related but it's certainly a strange coincidence.
    How could testing AD binds change my home folder permissions, or possibly even corrupt the folder altogether?  The network share/home folder that our macs smb communicate with as per the bind settings are on a windows server (to the best of my knowledge).  My guess previously with the adjuncts error is that despite the fact that I don't need or want the profiles created to sync, the default options turns this on for mobile accounts even though it doesn't select any actual folders for syncing, but because it still tries some sort of "handshake" or something initially, first logins fail without network home folder permissions.  Now it seems like something in the initial profile creation process might actually be corrupting the network home folder or changing its permissions.
    I would post the bind script but I'm not sure it's relevant, as another mac admin in a different area ran into the same error with one of his new users and he bound manually, not with a script.
    I'm kind of new to this sysadmin stuff, so does anyone have any ideas or suggestions to track down the cause of this and possibly fix it?  The network share admin can fix my permissions, but if I could break it when it was working once, I foresee this happening again.

    Here's the script I used previously that is not connecting to AD "completely" that causes the errors mentioned (I'm replacing institution info with "xxx"):
    echo -n "This computer needs to be renamed and bound to Active Directory.  Please enter the XXX Inventory Number from the affixed XXX label on the machine: "
        read userinput
        echo -n "Enter the XXXAdmin password (you will still be asked to enter this for system configuration changes): "
        read -s xxxpassword
        scutil --set ComputerName $userinput
        scutil --set LocalHostName $userinput
    # Active Directory Bind Script For OS X Client
        # Modified by Wade Wei according to previous popular bind script
        # Adapted for xxx by xxx
        echo "Binding to Active Directory…"
        echo -n "Enter AD admin username: "
        read adusername
        echo -n "Enter AD admin password (please wait after password submitted, do not press any keys): "
        read -s adpassword
        #Basic parameters
        computerid=$userinput
        fqdn="ad.xxx.edu"
        username=$adusername
        password=$adpassword
        #Advanced parameters
        alldomains="enable"
        localhome="enable"
        protocol="smb"
        mobile="enable"
        mobileconfirm="disable"
        useuncpath="enable"
        user_shell="/bin/bash"
        admingroups="domain admins,enterprise admins,xxx,xxx"
        namespace="domain"
        packetsign="require"
        packetencrypt="require"
        localuser="XXXAdmin"
        localpassword=$xxxpassword
        # Bind to AD
        echo "Binding to AD - do not interrupt…"
        dsconfigad -add $fqdn -username $username -password "$password" -computer $computerid -force -packetencrypt $packetencrypt -localuser $localuser -localpassword $localpassword
        sleep 5
        #Configure advanced options
        echo "Configuring AD for Mac OS X…"
        dsconfigad -localuser $localuser -localpassword $localpassword -alldomains $alldomains -localhome $localhome -groups "$admingroups" -mobile $mobile -mobileconfirm $mobileconfirm -namespace $namespace -packetsign $packetsign -useuncpath $useuncpath -protocol $protocol -shell $user_shell -nopreferred
    Can anyone tell me if I need to update the script for Mavericks, and how?  Or should this be working and the bug is in Mavericks itself?

  • Time Machine Can't Access Home folder

    I am using OS X 10.8.3 and my home folder seems to have been deleted without saving (malicious activity by family memeber with somehow gained access to his mother's account that has admin privledges).  I've tried restore via Time Machine (TM) which has worked in the past for minor file recovery issues but, I cannot access the "home" folder on the backup (external) drive any longer; I can "see" the home folder, but it is lightly shaded.  I also am having trouble rebuilding my iTunes library - I can see most, but not all of my tunes - other cannot be found on either the iMac-HD or the TM Backup.  Finally, not all of the iTunes purchased material is accessible via the iCloud download (tunes and app downloads).  So I am pretty much dead in the water.  I hate bringing up  stupid questions but I am not a tech sorrt of guy - I can use a hammer without having to know the physics of inelastic collisions, so my apologies.  Any suggestions?

    Boot into Recovery (command-R at startup) and select Restore From Time Machine Backup from the OS X Utilities screen. Select the snapshot you want to restore from. All data on the volume will be erased and replaced with data from the snapshot.

Maybe you are looking for