Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A workaround for a read-only Mail inbox' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A workaround for a read-only Mail inbox
Authored by: bcraig on Jan 22, '04 10:30:59AM

What you need to do is find out what your new UID (User ID) is. Not your username but the number your Mac assigned to your username. There are a bunch of ways to do that but a simple way is to create a file then list the file to find out who owns it.

In the terminal touch a file


touch foo


Now list it using the "-n" flag



ls -aln foo


You should see somthing like this:


-rw-r--r-- 1 501 0 0 Jan 22 07:23 foo


In this case the UID of the created file is "501" and the group ID (GID) is "0" Now all you need to do is change the ownership of the old mail directory.

Make sure to use the "-R" to rucursively change ownership and use the UID and GID from above:


sudo chown -R 501:0 foo


This will change both the owner and group of the dirctory to you. Good Luck!



[ Reply to This | # ]