Article View: demon.tech.unix
Article #270Re: A question of permissions.
From: Richard Tibbetts
Date: Sun, 26 Nov 2000 00:00
Date: Sun, 26 Nov 2000 00:00
38 lines
2059 bytes
2059 bytes
RussM <RussM@nospam.demon.co.uk> wrote: >In article <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com>, Richard Tibbetts ><richard@primepeace.ltd.uk> writes >>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? >> >>Many thanks in advance! >Can you cat it ? >run file ./runonline to see what file type it thinks it is. > >One possibility is if you've transferred it from a Windoze/DOS box it has ^M on the >end of each line. That tends to screw scripts up a treat. No, it's fine if I run it from a different user. I'm pretty sure the problem is due to the lack of read permission. I've been told that SCO needs this to execute the script - I'll check this tomorrow. -- Richard Tibbetts http://www.primepeace.ltd.uk/
Technical Details
Message-ID:
<q4032tcgsn0oe8thtlqs411iji93t5jb5j@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <Sh1K1KAnlAI6Ewx3@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/26 Message-ID: <q4032tcgsn0oe8thtlqs411iji93t5jb5j@4ax.com> X-Deja-AN: 698000491 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: ppeace.demon.co.uk:158.152.75.77 References: <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> <Sh1K1KAnlAI6Ewx3@verge.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 975274257 nnrp-07:9474 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