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


Click here to return to the 'Symlink in the opposite direction' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Symlink in the opposite direction
Authored by: ethomas on Mar 18, '04 12:52:59PM

As mentioned, if your Home directory is on a different volume, you can't create a hard link between /var/mail/$USER and /Library/Mail/Mailboxes/Local.mbox/mbox

You can however create a symlink, but the problem here is that when you quit Mail.app, it rewrites /Library/Mail/Mailboxes/Local.mbox/mbox, destroying the symlink.

You can get around this by creating the link in the opposite direction:

sudo ln -s ~/Library/Mail/Mailboxes/Local.mbox/mbox /var/mail/$USER

You will need to use sudo since the /var/mail directory is owned by root, group-owned by mail, and is not world-writable.

[ Reply to This | # ]