Re: Using Snow Leopard for development (was: NSString Retain Count of 2147483647)
Re: Using Snow Leopard for development (was: NSString Retain Count of 2147483647)
- Subject: Re: Using Snow Leopard for development (was: NSString Retain Count of 2147483647)
- From: Jens Alfke <email@hidden>
- Date: Fri, 28 Aug 2009 08:23:28 -0700
On Aug 28, 2009, at 8:09 AM, Antonio Nunes wrote:
-On one partition I installed Leopard (10.5.8), and created an admin
user.
-WIth that account I created a new non-admin user.
-I copied over the user folder to the data partition.
-I changed the path for that user in the advanced options of the
accounts pane.
-I gave the new user sudo rights by editing sudoers (using sudo
visudo). (I did not find /etc/sudoers/, apparently it is in /private/
etc/sudoers.)
-I restarted and logged into the new user account. So far so good,
the login appears to be successful and the account is on the correct
partition. But:
-I can hardly do anything within that account. I do not even have
enough privileges to open some of my own folders.
In the 3rd step, how did you copy the home directory? The safest way
would be using the 'ditto' command, which preserves user/group
metadata. If you used 'cp -R', the destination files will end up owned
by the user doing the copying. If you used the Finder, who knows how
it ended up; I still don't trust the Finder for anything related to
permissions.
You didn't mention whether you rebooted into 10.6 in between any steps
here. It's important to note that if you're sharing a user account
between two OS installations, it has to have the same numeric userid
on both, because file ownership is stored on disk numerically. By
default OS X creates the first user account as uid 501 and increments
from there. You can change the userid of an account via the Advanced
sheet in the Accounts system pref, but afterwards you have to use
'chown' to update the ownership of all the files in the home directory.
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden