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

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



> > 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, 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).

  "Correct" action would have been ">/home/spool/mail/admin" _OR_ 
">/var/spool/mail/admin" (from a root prompt) - either would have simply 
"cleared" the file contents without affecting the symlinks or existance of 
the file itself...

Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx