Article View: demon.tech.unix
Article #327Re: A question of permissions.
From: Richard Tibbetts
Date: Sat, 25 Nov 2000 00:00
Date: Sat, 25 Nov 2000 00:00
43 lines
2136 bytes
2136 bytes
Robin <ng@rszemeti.demon.co.uk> wrote: >Richard Tibbetts wrote: >> >> I'm fairly embarrassed to ask this, but I can't see why I'm having the >> following problem (and as it's the weekend I don't know who else to >> ask!): >> >> $ who am i >> cyborg ttyp3 Nov 25 12:40 >> $ id >> uid=200(cyborg) gid=100(cyborg) >> groups=100(cyborg),50(group),102(cybdev) >> $ pwd >> /u3/cyborg45/bin >> $ l runonline >> -rwx--x--x 1 cyborg45 cyborg 211 Nov 24 09:34 runonline >> $ type runonline >> runonline is hashed (./runonline) >> $ runonline >> /bin/ksh: ./runonline: cannot open >> $ >> >> Why won't it run the script runonline? > >wild guess, you are not the script owner, just a group member ... group >has execute but not read permisions .. try chmod 755 ing it .. >(assuming that that is what ksh is trying to say here .. I am only >familiar with bash) certainly with perl they wont run in execute only >you need read as well ... depends whats in the script I guess I did wonder about that - I'll give it a try! > >ps is this cyborg as in the cobolesque pyroll thing or something else? > >r. Well spotted! Were have you come across it? (It's my thang, as they say, as you'll see from my web page;-)) -- Richard Tibbetts http://www.primepeace.ltd.uk/
Technical Details
Message-ID:
<3rfv1tk1l4sk28fkc2192m0aissue93asv@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <3A1FBCB9.28E4AD3B@rszemeti.demon.co.uk>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/25 Message-ID: <3rfv1tk1l4sk28fkc2192m0aissue93asv@4ax.com> X-Deja-AN: 697588203 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: ppeace.demon.co.uk:158.152.75.77 References: <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <3A1FBCB9.28E4AD3B@rszemeti.demon.co.uk> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 975159316 nnrp-13:24224 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