Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!ulysses!ekrell From: ekrell@ulysses.homer.nj.att.com (Eduardo Krell) Newsgroups: comp.unix.questions Subject: Re: How to make sendmail re-read the configuration file (and cron) Message-ID: <1740@ulysses.homer.nj.att.com> Date: Tue, 20-Jan-87 10:16:25 EST Article-I.D.: ulysses.1740 Posted: Tue Jan 20 10:16:25 1987 Date-Received: Wed, 21-Jan-87 00:30:04 EST References: <136@quacky.mips.UUCP> <201@devon.UUCP> <2409@mcc-pp.UUCP> Reply-To: ekrell@ulysses.UUCP (Eduardo Krell) Distribution: na Organization: AT&T Bell Laboratories, Murray Hill Lines: 15 In article <2409@mcc-pp.UUCP> ables@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