Admin home directory unreachable/invisible

Hi,
I installed a Leo server 10.5.4 and shortly after I had the admin home directoy unreachable at login !
Using spotlight I could see /Users/admin but they are white, unusable. Searching the forums I found about the applescript action to deflag invisibility and later about the chflags terminal command. None of those gave a positive result, nor did the disk utility.
I can login as root but /Users are still in this state. The system prevents me from created a new admin account, saying it lacks memory (I have 400Go free).
Any idea how to repair this ? Since the files are visible with spotlight it looks like something could be done.

I would suggest reposting the the Leopard server forum (I know it's confusing navigating here at first - from personal experience).
Here is the link to the server forum:
http://discussions.apple.com/category.jspa?categoryID=96
I am sure you will get help there.

Similar Messages

  • Why is the admin home directory shared?

    I have two servers both of which show the administrator's home directory as being shared. That is, when I open Finder and click on any of the folders listed under PLACES, a banner at the top says "Shared Folder". Yet none of these folders are listed under the File Sharing settings.
    Does anybody know why and whether this is good or bad?
    Thanks.

    I'm sorry, but I don't understand your question. What part of how it is set up seems to be the problem, the arrangement of the icons, colors, etc.? You do know that you can arrange the screen in any way that you want, moving icons around, moving them to other pages, etc.

  • Can't change home directory for standard users (admin is OK)

    I'm can't relocate home directories for standard users.  Relocating works fine for admin users.
    When a standard user logs in, they get a message (paraphased) saying "the home directory is not available.  If it is located on a server, the server might not be online".  If I change the standard user to admin, this message goes away, and everything is fine.
    I created a standard user
    moved the home directory using the terminal as root: mv UserName  /otherlocation/UserName
    I then went into users and groups, other options and changed the home directory location.
    Rebooted, then tried to log in as the standard users.
    Next try - Deleted the standard user and created the same user with admin rights.  Followed the above steps and everything works fine.
    I don't want this user to have admin rights on my system.  Any ideas

    Hi,
    the AFP is has always been switched on. As for the path I believe this to be correct. The path I am using is:
    afp://musicserver/Users
    I'm not at the server right now so I mat have got the afp and : and / in the wrong order here but they are correct on the server.
    This however does not seem to put the a folder in the Users folder. Could it be something to do with my external hard drive? I am using a Mac Mini as our server (not ideal but fine for us, or at least was) this is booted from our external hard drive. This is the main system drive which is where the Users data is also stored. I have tried all possible paths I can thing of from replacing the 'musicserver' with the IP address. I have also tried adding the name of the drive to the path (System) but all does not work.
    Are you able to suggest anything I have missed? Perhaps I'm doing the path wrong?
    Thanks again
    Chris

  • Safari and Server Admin slow to launch on a Network Home Directory

    I have an issue with Safari and Server Admin that started two days ago. When you attempt to launch Safari or Server Admin while logged into a Network Home Directory on an Intel Mac it will bounce about 10 times, stop bouncing, and then about a minute later launch and act normal. If you quit and reopen Safari you have to wait again. Server Admin exhibits similar behavior, although the delay is longer and there are long pauses while using the program. The network home folder is on an afp share on an Intel XServe w/ 10.5.5 and 4gb of ram.
    Troubleshooting steps already done:
    1. Same intel mac with a local user, Safari and Server Admin launches normally.
    2. Same intel mac with a portable home directory user, Safari and Server Admin launches normally.
    3. Same intel mac with a different network home directory user, Safari and Server Admin have the long delay.
    4. Different intel mac with a network home directory user, Safari and Server Admin have the long delay.
    5. Different intel mac with a local user, Safari and Server Admin launches normally.
    6. Different intel mac with a portable home directory user, Safari and Server Admin launches normally.
    7. PPC mac with same network home directory user, Safari and Server Admin launches normally.
    8. Checked forward and reverse DNS lookups for the home directory servers.
    9. Checked entire DNS zone for forward and reverse lookups.
    10. These exact same symptoms began occurring the same day at another site I manage with a separate DNS and Open Directory structure in another city.
    11. All other programs appear to behave normally as far as I've been able to tell.
    I have the feeling that something strange is going on with DNS and Server Admin and Safari are trying to resolve something, time out, then try to act normally. I don't know why it would just affect intel macs. In addition, there were no setting changes or DNS alterations that happened that I am aware of. These symptoms are also happening at another site that I manage with a completely separate DNS and Open Directory structure. I'm puzzled, any help would be appreciated.

    Upgraded to 10.5.6 and the issue disappeared. I don't know what what wrong, but I think it was DNS related...

  • Eventually denied permission to write in home directory

    Hello,
    My wife is using a Mid-2007, 2.4GHz Intel Core 2 Duo iMac (iMac7,1) with 6GB RAM and more than 1TB of free available HD space.  She is running Mountain Lion (10.8.3) and has administrator privileges.
    After she has been using the computer for a while (hours or days; it varies), the system eventually denies her writing privileges to folders in her own Home directory. 
    I'll give two common examples:
    She'll download a file in Safari (or iTunes), and everything appears to proceed normally until the download "finishes" at which point she receives an error message that says she doesn't have permission to write to the save location.  The download remains in her browser's download list, but the file itself "disappears".  Changing target directories (e.g. from Downloads to Desktop) makes no difference.
    TextEdit will automatically reopen upon log in, and display one or more SavedState "Untitled" documents with text in them (she uses it as a scratch pad). When she attempts to add text to one of these documents, e.g. "Untitled 8," an error appears that says she does not have permission to make changes to the document and is prompted to make a Duplicate, so she does so.  She can successfully enter text in "Untitled 8 (copy)" but when it comes time to save the file, another error is returned that claims she does not have permission to write to [whatever location].
    Only two things seem to correct this situation, neither of which are permanent. That is, it eventually happens again.
    1. She logs out and logs back in. Things will behave normally for a while.  This is a pain, of course, because she typically discovers the problem when she is in the middle on working on one or more things, and the login process is fairly slow (as are most things on this iMac since upgrading to Mountain Lion -- though better since restricting the activity of Sophos Antivirus).
    2. Repair the permissions in her Home directory:  Get Info, click the lock & enter her password, change the Privilege of Me from Read & Write to Read Only, then back to Read & Write, and finally click the gear so as to Apply to enclosed items.  Once this is finished, access is restored... until it happens again.  Funny thing about this particular procedure is that her permissions appear to be set normally at the outset, ie., Read & Write.
    Another odd thing about the download problem is that the system does not seem to have a problem writing to whatever temporary directory it uses during the downloading process. The error only comes once the file is complete.
    There does not seem to be any precipitating event that leads to this change in her permissions/access privileges.
    Repairing permissions using Disk Utility does not resolve the problem.
    Running other kinds of repairs (repair disk when booted in Recovery Mode, running Drive Genius 3 from a separate partition or from the optical media, TechTool Pro, etc.) do not resolve the problem.
    When I log in to this same computer using my account (also with admin privileges), I have yet to encounter this eventual-permission-denial problem.
    Any thoughts or recommendations are welcome, obviously.  This is driving us batty!

    Hmmm, sounded like a RAM problem until you mentioned your account doesn't do it.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Home directory is not being backed up in Time Machine

    Problem: It turns out my home directory does not have any backups in Time Machine for the last year.  I've never received any error message indicating it wasn't doing the full backup.
    Goal: I'd like to get Time Machine to back up my home folder (which contains 100% of the content I care about) again, ideally in a way where I can keep my history from the last time it backed up successfully.
    How I found out:
    - I opened Time Machine and realized all the "pink bars" were dimmed all the way back up to Sept. 2011 when I navigated to my home folder or any folder within it.
    - I cloned a file within my home folder, did a manual Time Machine back up, opened Time Machine and verified that the backup volume did not contain the cloned file.
    - I did this again while watching the Console and verified that it did not make a large enough backup to include the cloned file.
    - I explored all the backups in Finder and realized that indeed all the backups that corresponded to the dimmed pink bars in Time Machine had no home folder.
    - I did an "ls -a" in the backup volume in Terminal and realized that it was not the case that the home directory was present but merely hidden.
    What I've tried:
    - I created a new admin account, logged into that and did a manual Time Machine backup from there.  The new account was backed up, while the original home directory still wasn't.  This continues to be true in subsequent backups made while logged into the main account.
    - I examined the exclusions list in Time Machine preferences.  The only items were the backup volume itself and another partition of that external drive I use for other backups, as expected.
    - I did a "Full Reset of Time Machine" (http://pondini.org/TM/A4.html), with a reboot before re-enabling Time Machine.  The plist file did change to become much simpler, but the home folder is still not being backed up.
    Other notes:
    - I run Dropbox, and have those contents in a folder one level under the home directory
    - I run Git
    - The existing backups have only used 500GB or so of a 1TB partition, so it's not filling up.
    - I ran Verify Disk in Disk Utility on both my backup volume and the mac's HD.  The backup volume appeared OK, but the mac HD was "found corrupt and needs to be repaired".  I could boot into the Recovery HD and repair it, but I feel like this is a risk and I'd like to have a working backup before I do that (I don't have another external HD around to make a temporary backup).  Could the corrupted drive be the reason Time Machine has been silently skipping the home folder?
    - My home folder is named "apple".  Might this be a problem?  I'd rename it, but that's a risk and I'd like a verified backup before doing that.
    - The Time Machine plist file in /Library/Preferences is pretty hard to read in pico, TextEdit, etc (maybe this is normal?)
    I've scoured the forums and pondini's very thorough troubleshooting pages to no avail.  Please let me know if anyone has ideas.  Thanks.

    Latest update: Bought a new external harddrive, set that up as the new Time Machine volume, but got the exact same results (all but my main user directory are backed up).  This is after another Time Machine reset (deleting the .plist), starting up in Safe Mode, and trying to initiate the backup from both the account that doesn't get backed up and another administrator account.
    Here is some of the output from the Console when filtering messages for "backupd":
    10/5/12 2:51:23.572 AM com.apple.backupd[13529]: Backup content size: 481.57 GB excluded items size: 11.31 GB for volume Macintosh HD
    10/5/12 2:51:23.572 AM com.apple.backupd[13529]: Found 1437613 files (470.25 GB) needing backup
    10/5/12 2:51:23.573 AM com.apple.backupd[13529]: 564.3 GB required (including padding), 1.5 TB available
    10/5/12 2:51:23.581 AM com.apple.backupd[13529]: Waiting for index to be ready (100)
    10/5/12 3:40:33.297 AM com.apple.backupd[13529]: Copied 763432 files (21.54 GB) from volume Macintosh HD.
    Put the relevant parts in bold.  No messages about why it only backed up 21.54GB when it found 470.25GB that needed to get backed up.
    Does this make sense to anyone??

  • Mountain Lion Server: Network users Home directory mount problems

    I am having several problems with my server after a latest name change of the server via Server.app. (A first name change made problems, after that I have been trying to repair, changing the name a few times more. With latest name change, I also changed the server name itself from Foo to Bar while changing domain name from domain.com to bar.domain.com after which I repaired DNS so it covers the whole domain.com domain).
    The users in the Network directory think their home directory is on afp://domain.com/Users, but the server is now called bar.domain.com. /Network/Servers/bar.domain.com does not exist on the server. Client machines (with mobile home directories) are now able to sync, because I added an A record for domain.com to DNS (not  nice, but does the job, or more specifically that job). Also on the clients, I can go to a SHARED folder in Finder with the name Bar and go to Users and see al the home directories there. But:
    bash-3.2# ls -l /Network/Servers/
    total 4
    dr-xr-xr-x  2 root  wheel  1 Apr 14 11:14 domain.com
    dr-xr-xr-x  2 root  wheel  1 Apr 14 11:14 foo.domain.com
    bash-3.2# ls -l /Network/Servers/*
    /Network/Servers/domain.com:
    total 2
    dr-xr-xr-x  2 root  wheel  1 Apr 14 11:14 Users
    /Network/Servers/foo.domain.com:
    total 2
    dr-xr-xr-x  2 root  wheel  1 Apr 14 11:14 Users
    bash-3.2# ls -l /Network/Servers/*/Users
    /Network/Servers/domain.com/Users:
    ls: Users: Input/output error
    /Network/Servers/foo.domain.com/Users:
    ls: Users: Input/output error
    So, on the server looking for folder ~user does not work. It wants to  go to afp://domain.com/Users/user but that is unreachable.
    Any tips on what I can do except do a clean rebuild of the server (again)?
    (One of the obvious problems is that the Realm of OD is still called foo.domain.com, the origin of my problems has been that the first name change from foo.domain.com to domain.com (ill-advised, I know) failed — partly).
    What I'd like to know is:
    - where is it determined which servers end up in /Network/Servers?

    Som additional info:
    Other machines can mount afp://foo.domain.com/, afp://domain.com/ and afp://bar.domain.com/, but the server itself cannot mount them via Finder.

  • Why can't a new folder be created within my user home directory when using 'Save As' in Mountain Lion?

    Hi,
    So I want to create a new folder within my main user home directory (not the root directory) just for my developer-related files? I can do this from Finder, although it does prompt me for my password to do so. However, when using 'Save As' from any app, the 'New Folder' button is greyed out when I select my user home directory. So I have to create the folder in Finder then Save As.
    Is this normal behavior? Is OSX discouraging me from adding things to my user home directory by making it less convenient? Is there a good reason it would be discouraging me from creating new folders there? If not, is there a setting that I can change to allow the creation of new folders from the Save As prompt?
    Thanks for your help,
    B

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • User Home Directory not being created when "Create Home Now" button hit...

    This is a cross post, since I was not sure where this should end up since it touches two pieces- Open Directory and User Management. Any help would be appreciated!
    I am running OS X Server 10.5. All of my user accounts have been migrated over along with their home directories. Problem is that when creating new users and then assiging a home directory the system does not actually create the directory.
    Currently all users are setup to have their home directory setup here:
    afp://172.16.110.100/Users/'username'. The Users folder has been setup to automount, and all users that have folders can be accessed without issue.
    The problem is when I create a new user, select the aft://172.16.110.100/Users option and then select "Create Home Now" button and save as it requests... it does not create the directories.
    I have even tried to change the Home patch to make it local to see if it was an network issue, and used the /Users choice and it will not create the directory in that way either- both location go to the same place.
    The system was obviously able to create the local admin account and directory admin account home folders without issue when the system was installed.
    The permissions for the "Users" folder are as follow:
    directory admin = Read and Write
    local admin= Read and Write
    system user (root)= Read and Write
    admin group= Read Only
    everyone group= Read Only
    The system is in production, so any kind of server resets need to be done after 5pm, so I have not been able to reset AFP service.
    Currently the only services running are AFP, SMB and Open Directory.
    All users have their entire home directories located on the server, and login over Directory Access on their clients, so all user accounts are stored on the server. No one is having issues accessing their files or logging in.
    I just can not create new home directories when I create new accounts.

    You do not have to be logged on as the root user to do this. Launch the terminal and type-
    sudo createhomedir -a
    I run an XServe with Tiger server ( 10.4.11) and this has been the workaround I have been using.
    Good luck.

  • Home directory is read only

    Hi -
    I'm having a strange problem with my home directory on my MacBook Pro that is running Leopard.
    The finder window for my home directory claims it is read only (the pencil with a line through it shows up). However, if I do a Get Info on it, it says I have read/write permissions. All the directories inside my home directory are fine. If I go into terminal and change the permissions, I still can't write to it:
    Tims-MacBookPro:Users Tim$ ls -l
    total 0
    drwxrwxrwt 4 root wheel 136 Sep 15 2008 Shared
    drwxrwx---+ 46 Tim Tim 1564 Jul 4 16:26 Tim
    Tims-MacBookPro:Users Tim$
    Tims-MacBookPro:Users Tim$ cd Tim
    Tims-MacBookPro:~ Tim$ mkdir test
    mkdir: test: Permission denied
    Tims-MacBookPro:~ Tim$
    From the snippet above, clearly I have r/w access, yet I can't create a directory!
    Any ideas what could be wrong?
    Thanks.

    Actually you do not have read/write access. Your Home folder is owned by the system user and the group is wheel. The correct values for a Home folder are:
    Owner=you with r/w privileges
    Group=staff with r/w or read-only privileges
    Everyone=read-only privileges
    Try this:
    you can reset the ACLs on your home folder by the following series of terminal commands. It's up to you if you want to do that. I personally like them but I hate the way the ACLs are implemented in leopard so that many ACLs are invisible from GUI and yet can be propagated by using "apply to enclosed items" button. That's a major No-No in my book.
    Here are the commands (in bold). just copy and paste the commands (they are in bold).
    *chmod -R -N ~*
    this removes all ACLs from files in the home directory.
    The following two commands put the necessary ACLs back where they belong.
    *chmod +a "everyone deny delete" ~/ ~/Desktop ~/Documents ~/Downloads ~/Library ~/Movies ~/Music ~/Pictures ~/Public ~/Sites*
    *chmod +a "`id -un` allow list,addfile,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr, writeextattr,readsecurity,writesecurity,chown,file_inherit,directoryinherit" ~/Public/Drop\ Box*
    The above was provided by user V.K. in this forum discussion.

  • No write permissions in my home directory

    Hi,
    I'm having a weird issue with my Mac. I am unable to create new files or directories in my home directory. For instance:
    Bergy Bit> cd ~
    Bergy Bit> cp temp.txt temp1.txt
    cp: temp1.txt: Permission denied
    I can override this with sudo, but it's a major pain to do this every time. I have no problem writing in any of the sub-directories in my home directory. Here's the output from ls -ale in /Users:
    Bergy Bit> ls -ale
    total 0
    drwxr-xr-x 5 root admin 170 Dec 4 2007 ./
    drwxrwxr-t 37 root admin 1326 Dec 18 16:51 ../
    -rw-r--r-- 1 root wheel 0 Sep 23 2007 .localized
    drwxrwxrwt 5 root wheel 170 Feb 14 2008 Shared/
    drwxr-xr-x+ 74 lgerhardt staff 2516 Feb 26 15:17 lgerhardt/
    0: group:everyone deny addfile,delete,add_subdirectory,deletechild,writeattr,writeextattr,chown
    Any ideas what's going on?
    Thanks,
    Lisa

    The standard ACE is
    group:everyone deny delete
    I don't know how you got all of that other stuff.
    You should be able to fix it with:sudo chmod =a# 0 "group:everyone deny delete" /Users/lgerhardt/

  • Home Directory Synchronisation and "DS_Store" files

    I have five clients on Tiger connected to a Tiger server. All clients are 10.4.8.
    Initially I turned Home Synchronising on, but since turned it off, realising I don't really need it. One of the clients, with the biggest profile, still keeps synchronising files. They often get the following message in relation to "DS_Store" files:
    You do not have permission to synchronize this file. You can check
    your permissions in the Info window in the Finder
    Name: .DS_Store
    Size: 6.15 KB
    Modified: 09/02/2007 10:09 AM
    Location: Documents/Work - laptop/office/folders/.DS_Store
    My questions:
    1. As I haven't apparently turned off Home Sync'ing (via the Workgroup application), what else can I check?
    2. What does a DS_Store file do?
    3. Will it kill something if I delete all the DS_Store files I can find, so they no longer synchronise?
    4. Alternatively, how can I enable DS_Store files to be replicated?
    Thanks,
    Sam

    A .DS_Store file is an invisible what controls what you see in every folder/directory. The most imoportant one is the one which controls the Desktop folder in your home directory. The Desktop folder is always open—it's what you see on your desktop when the Finder is running. If you delete the file, for any folder, including the Desktop, it'll be recreated as soon as you reopen the folder or relaunch the Finder, in the case of the Desktop .DS_Store file.
    I can't answer your query WRT tp synchronization or servers. You might post the problem to the Servers forum.

  • How to change the "short name (account name?)" and home directory name?

    Hi,
    I recently purchased a new iMac and migrated account info from my MacBook Pro.  I happened to use random account name during migration without knowing it will not be easy to change the short name (account name?) and home directory name.  As a result, I am now having extremely confusing short name and home directory name on my new iMac.
    I did online search to find out how to change the two names, but I could only found somethig like "enabiling root user and....."  I have no idea what it was talking about and I don't want to take risk altering such advance set up manually.
    Please advice how I can change the short name and home directory name safely without much PC knowledge.
    Thank you very much in advance.

    There are a few ways of doing this. The easiest method is logging into the first account and copying everything to an external drive (or flash drive or whatever), which changes the permissions so that others can see the files.
    Then, login with the new account and copy the files over. Once they are copied, the correct permissions will be applied again (so other people on your computer can't access them).
    If you can't do this method for one reason or other, you can do some terminal commands to change the ownership of the files. Login to the new account. If it is an admin account, open terminal and type the following command:
    sudo chown -R -v yourusername:admin /Users/originalaccountnamehere
    That should change the ownership of the files from your old account to the new one. At that point, you can simply drag the files into place.

  • Can not login after changing account short name and home directory

    Hi,
    I did sth rather stupid while trying a get timemachine working on my iMac 10.5.5.
    I changed the short name, login shell and home directory of my account. (didn't listen to the waning that I may not be able to login if I change those information Now I can not log into my account anymore. I tried to use fileVault master password to change the password of my account, but it didn't help. Can anyone tell me how do I fix this problem?
    Thanks a lot!

    xyz2008 wrote:
    No, I still can not log in as that user.
    I did as you advised, but it gave the following message:
    "attache failed, no such file or directory"
    then I suspect you may be entering the command incorrectly. another possibility is this. I noticed you said in one of the previous posts that if you cd into the main user home directory you only see user.sparseimage. It actually should be user.sparsebundle. Or have you upgraded to leopard from tiger with filevault turned on? then it could have remained sparseimage rather than sparsebundle.
    run the following in terminal
    sudo ls -la /users/username
    and post the results.
    does it list sparsebundle or sparseimage?
    Another thing, when I typed in the command, it didn't take the admin (root) password, but the password of the account I was logged in got me through.
    that's what it has to be. it takes the password of the user (it jhas to be an admin user) which is currently logged in.
    I am wondering if I can recover the problem user's files from the sparseimage file, then copied all the files to a new user.
    Message was edited by: V.K.

  • Home Directory Creation?

    I wonder if someone can help...
    I've just upgraded my server (G5 PowerPC Dual 2GHZ, 2GB Ram) form 10.4.10 to 10.5. I did a fresh install instead of upgrading to prevent there being any problems but unfortunately there is...
    Everything seems to be working fine apart from when i come to create a new user. I select the sharepoint (afp://server.com/Users) in the 'home' tab and select create home now button -> press save and i get the following message:-
    unable to create home directory because an error occurred.
    I've tried allsorts like creating new sharepoints, new users but nothing seems to help.
    Any suggestions?

    I had the same issue. I just got thru doing the third reinstall of Server. (1st. Basic, 2nd Advance, and now third workgroup). On this install it all works fine. On my advanced issue it was a hit and miss situation on what worked for me. So far starting from workgroup and using server admin to manage the system has worked for me to add the little things that workgroup did not provide.

Maybe you are looking for