Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!pilchuck!pacer!davidb
From: davidb@Pacer.UUCP (David Barts)
Newsgroups: comp.sys.hp
Subject: Re: HP-UX problems and suggestions (s800)
Summary: File protections, mvdir
Keywords: HP-UX s800 3.1
Message-ID: <245@zircon.UUCP>
Date: 28 Sep 89 14:52:24 GMT
References: <1717@zen.co.uk>
Organization: Pacer Corp., Bothell, WA
Lines: 19

In article <1717@zen.co.uk>, frank@zen.co.uk (Frank Wales) writes:
> This posting is rather lengthy (>300 lines), and contains both
> . . .
> 4) HP-UX is consistently shipped with inappropriate file . . .
> . . . *No* executable should be readable (or writable!).

Shell scripts need BOTH read and execute permission; binaries
only need execute.

> . . .
> [Also, why is /usr/lib/mvdir present, since mv(1) uses rename(2)?
>  Does something else use it?]
> . . .

Yes.  Anything that moves directories in an SYS V compatible way.  Rename(2)
is a BSD-ism.
-- 
David Barts			Pacer Corporation
davidb@pacer.uucp		...!fluke!pacer!davidb