[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Segmentation Fault (core dumped) on Admin mail function
- Subject: Re: [cobalt-users] Segmentation Fault (core dumped) on Admin mail function
- From: Larry Smith <lesmith@xxxxxxxxx>
- Date: Tue Feb 19 12:50:01 2002
- Organization: ECSIS.NET
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> > 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