Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!ames!pacbell!pbhyf!rob From: rob@PacBell.COM (Rob Bernardo) Newsgroups: comp.mail.elm Subject: Re: Help with ELM on Apollo BSD 4.2 Message-ID: <5038@pbhyf.PacBell.COM> Date: 17 Apr 89 19:22:49 GMT References: <185@camdev.UUCP> Reply-To: rob@PacBell.COM (Rob Bernardo) Distribution: na Organization: Pacific * Bell, San Ramon, CA Lines: 20 In article <185@camdev.UUCP> sscott@camdev.UUCP (Steve Scott) writes: +The Apollo distributed file system references everything by a system root +(//). So, for example, home directories are of the sort //{node}/users/foo, +etc. Now, ELM when finding a person's home directory (from /etc/passwd, +I presume ;-)), strips the initial / leaving /{node}/users/foo, which +does NOT exist in the file system. I know that a call to access is failing +which causes the returned error. And I know that I can strip off the +//node part in init.c. But, if I do that, then I can only run elm from +my node. Huh? Are you saying ELM does or does not strip off the "extra" leading '/'? In fact, ELM does get the home directory from /etc/passwd, but it absolutely does not alter it before using it. It does not strip off any leading '/'. Are you sure the double '/' is given in the home directory field of /etc/passwd? -- Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library Email: ...![backbone]!pacbell!pbhyf!rob OR rob@pbhyf.PacBell.COM Office: (415) 823-2417 Room 4E850O San Ramon Valley Administrative Center Residence: (415) 827-4301 R Bar JB, Concord, California