This discussion is archived
2389 Views 6 Replies Latest reply: Apr 16, 2008 5:32 AM by cluelessnewadmin
Currently Being ModeratedApr 15, 2008 5:24 PM (in response to cluelessnewadmin)I've got a similar problem:
I'm attempting to follow the directions in the Upgrading and Migrating Guide for Leopard. The Mac has two hard drives in it. Batman contains the active server running 10.4.11. Magic is the hard drive that will run 10.5.2.
Since I'm moving from one hard disk to another (as opposed to an entirely different Mac), things ought to be fairly easy. But not for me. ;(
What I'm trying to do: Migrate the mail database. (I have managed to import users and groups; only the mail service will run on this machine.)
Problem: I can't change the owner and group settings on the various files in the var/imap and var/spool/imap folders (for example, so that they are owned by system or _cyrus, with group wheel or mail and everyone set to read only).
The owner and/or group often shows up as unknown (which is to be expected with the migration to a different hard drive). But how can I change these permissions?
Or is there a way to use a command to copy them from one disk to another? I tried ditto, but didn't get the syntax right (the files were copied to the same level as the imap folder rather than within it) and now I have a bunch of files owned by nobody that I can't delete because I can't change the owner.
mmMac OS X (10.5.2)
Currently Being ModeratedApr 15, 2008 5:41 PM (in response to cluelessnewadmin)Open the Terminal in the /Applications/Utilities/ folder and enter the following:
sudo chown username
followed by a space; next, drag the item from the Finder into the Terminal window, press Enter, and provide your password if prompted. Nothing will appear in the Terminal window while the password is being typed. The command can be adjusted to affect everything inside it by adding -R and a space before the username.
(31567)iMac Late 2007 Core 2 Duo, Mac OS X (10.5.2)
Currently Being ModeratedApr 15, 2008 10:07 PM (in response to Niel)Hi:
You know, I tried that, but I got an error.:
sudo chown system /Volumes/Magic/private/var/imap/annotations.db
chown: system: Invalid argument
I think I could probably delete the files that need deleting by starting up with the 10.4.11 version of the server and also move them to the right place I then might be able to finagle the permissions using either the 10.4.11 version of the server or the 10.5.2 version.
But it still would be nice to now how to do this purely in Leopard.
mmMac OS X (10.5.2)
Currently Being ModeratedApr 16, 2008 4:48 AM (in response to Niel)I followed the directions above changing "username" to "teamserver" and then tried "_teamserver" and after getting prompted and putting in the password keep getting "invalid argument."Mac OS X (10.5.2)