Article View: demon.tech.unix
Article #277Re: A question of permissions.
From: Richard Tibbetts
Date: Wed, 29 Nov 2000 00:00
Date: Wed, 29 Nov 2000 00:00
25 lines
1939 bytes
1939 bytes
RussM <RussM@nospam.demon.co.uk> wrote: >In article <8vs79h$704$1@thor.our.house>, Matt Foster ><matt@molnir.demon.co.uk> writes >>Shell scripts need read & execute to work. After all, what happens >>is that ksh (or bash or whatever) starts up (#!/bin/ksh) and then >>attempts to read in the rest of the script as it's stdin. >>No read permission, so it blows. Compiled executables don't >>suffer from this, but all scripted languages do. 755 or 750 or 700 >>would be normal permissions for scripts. > >Don't you just hate that. >The pure simple blindingly obvious taken for granted logical reason that >just never makes it past the tip of the tongue. > >It's one of the things I like about *nix, if you sit down and look the >answer is usually starring back at you. That's what makes it such a love-hate relationship I suppose. Thanks to all who responded. The permissions *were* wrong, however (predictably) there were/are other problems too! -- Richard Tibbetts http://www.primepeace.ltd.uk/
Technical Details
Message-ID:
<kqsa2tgoj37nn0rhv8p7qmgsp9btgavl2v@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <Sh1K1KAnlAI6Ewx3@verge.net> <q4032tcgsn0oe8thtlqs411iji93t5jb5j@4ax.com> <8vs79h$704$1@thor.our.house> <C0yeALA511I6Ewig@verge.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac57,f7ce9a08bd296d9d X-Google-Attributes: gidfac57,public From: Richard Tibbetts <richard@primepeace.ltd.uk> Subject: Re: A question of permissions. Date: 2000/11/29 Message-ID: <kqsa2tgoj37nn0rhv8p7qmgsp9btgavl2v@4ax.com> X-Deja-AN: 699264210 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: ppeace.demon.co.uk:158.152.75.77 References: <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <Sh1K1KAnlAI6Ewx3@verge.net> <q4032tcgsn0oe8thtlqs411iji93t5jb5j@4ax.com> <8vs79h$704$1@thor.our.house> <C0yeALA511I6Ewig@verge.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 975532981 nnrp-01:6811 NO-IDENT ppeace.demon.co.uk:158.152.75.77 Organization: primepeace ltd - independent cyborg consultancy MIME-Version: 1.0 Reply-To: richard@primepeace.ltd.uk Newsgroups: demon.tech.unix