Owner and permissions of /var/mail/me

Russell Cook bike_oz at yahoo.com.au
Thu Sep 1 13:26:10 UTC 2005


On Thu, 2005-09-01 at 09:01 -0400, Stephen R Laniel wrote:

> On Thu, Sep 01, 2005 at 08:51:23AM -0400, Carthik Sharma wrote:
> > I deleted the /var/mail/carthik (my username is carthik) file by mistake. If I
> > were to create the file again, what should the permissions be, and who should
> > be owner of that file?
> 
> I asked the same question of my Linux mentor a week or so
> ago, after three or four years of my using Linux. The answer
> should have occurred to me: drop to a command line and do
> 
> echo test | mail carthik
> 
> This will send a message to your account; your MDA will
> automatically create /var/mail/carthik with all the right
> permissions.
> 

What is the default mail package for dealing with internal system
messages?
When I check for mail I get the following:

sudo apt-get install mail
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package mail

Thanks
Kind Regards Russell
==================
www.windsorcycles.com.au
sales at windsorcycles.com.au
ph. 02 4577 3209
bikes.no-ip.info
Linux user #369094
================== 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050901/f739461c/attachment.html>


More information about the ubuntu-users mailing list