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

Click here to return to the 'Read crontab output in' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Read crontab output in
Authored by: tjj on Nov 15, '04 05:09:10PM

Any security concerns with chmod'ing /var/mail/ to 1777?The default bits are -rw------- (600?) with myUserName as User and mail as group.

[ Reply to This | # ]
Read crontab output in
Authored by: cilly on Nov 15, '04 06:08:49PM

Repair permissions will set /var/mail/ to:


It is more secure to use:


on the directory.

The files inside this directory match:


which is okay.

cilly @

[ Reply to This | # ]
File mode
Authored by: tjj on Nov 16, '04 03:56:14PM

hmm, thanks.
I have /var/mail/ as 775, though. -And that's after repairing permissions on a 10.3.6 installation.

The sticky bit makes the directory append only for other users than the owner of the directory and the files therein.
I guess this has some merit, are there any adverse effects, since it isn't 1777/1775 as default?

I didn't change the file modes, just rm'ed the file /var/mail/MyUser and created the symlink. It works as described in the hint., though, doesn't seem to delete the unix mail. They are still there when accessed from

-Edit. does indeed delete the mails, but apparently only after closing the mailbox.

[ Reply to This | # ]