🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #275

Re: A question of permissions.

#275
From: RussM
Date: Tue, 28 Nov 2000 00:00
22 lines
2088 bytes
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.
-- ----------------------------------------------------------------------------
|                                          Why can't men get Mad Cow disease? |
| Virtual Environment Resource Group Enterprise                               |
| < mailto:RussM@verge.demon.co.uk >                                          |
| < http://www.verge.demon.co.uk/index.htm >                                  |
|                                    'Cause all men are PIGS! (ex-)girlfriend |
-------------------------------------------------------------------------------
Technical Details
Message-ID: <C0yeALA511I6Ewig@verge.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <Sh1K1KAnlAI6Ewx3@verge.net> <q4032tcgsn0oe8thtlqs411iji93t5jb5j@4ax.com> <8vs79h$704$1@thor.our.house>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,f7ce9a08bd296d9d
X-Google-Attributes: gidfac57,public
From: RussM <RussM@nospam.demon.co.uk>
Subject: Re: A question of permissions.
Date: 2000/11/28
Message-ID: <C0yeALA511I6Ewig@verge.net>
X-Deja-AN: 698856363
X-NNTP-Posting-Host: verge.demon.co.uk:158.152.91.232
References: <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <Sh1K1KAnlAI6Ewx3@verge.net> <q4032tcgsn0oe8thtlqs411iji93t5jb5j@4ax.com> <8vs79h$704$1@thor.our.house>
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 975449254 nnrp-02:22527 NO-IDENT verge.demon.co.uk:158.152.91.232
Organization: V.E.R.G.E.
Mime-Version: 1.0
Reply-To: RussM <RussM@verge.demon.co.uk>
NNTP-Posting-Date: 28 Nov 2000 19:20:16 GMT
Newsgroups: demon.tech.unix