[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Segmentation Fault (core dumped) on Admin mail function



On Tuesday 19 February 2002 03:10 pm, Larry Smith wrote:
> > > Trying that didn't work. However, rm /var/spool/mail/admin rather than
> > > rm /home/spool/mail/admin did the trick!  I didn't know there was a
> > > dupe file created out there.  I learn something new everyday.  Thanks
> > > for the assist! You got me on track!
> >
> > uhhhh, one is a symlink for the other. I would have thought either would
> > work. maybe gsh will comment.
>
>   Actually no.  "rm" on a symlink simply removes the "symlink" itself, 

   That's what I was thinking! But then I thought that the rm command may 
just follow the symlink and remove the file.

> rm on a file that is "linked" removes the file, but then leaves the symlink
> incorrectly pointing to something that does not exist (remember the
> resolv.conf.5 problem).

Then the actual file must now be at  /var/spool/mail/admin and not
symlinked to /home/spool/mail/admin.


--
Gerald Waugh