How to make sendmail re-read the configuration file (and cron)

Eduardo Krell ekrell at ulysses.homer.nj.att.com
Wed Jan 21 01:16:25 AEST 1987


In article <2409 at mcc-pp.UUCP> ables at mcc-pp.UUCP writes:
>Now, the question I have is why would you ever NOT want stat()
>to resolve the link and stat the actual disk file rather than the
>link???

stat() always follows symbolic links; lstat() does not. You need lstat()
to see what the permissions are on (and who owns) a link, for instance.

Unless programs use lstat(), they will follow symbolic links and will be
unaware of their existence.
-- 
    
    Eduardo Krell                   AT&T Bell Laboratories, Murray Hill

    {ihnp4,seismo,ucbvax}!ulysses!ekrell



More information about the Comp.unix.questions mailing list