Article View: demon.tech.unix
Article #264Re: A question of permissions.
From: RussM
Date: Sat, 25 Nov 2000 00:00
Date: Sat, 25 Nov 2000 00:00
36 lines
2172 bytes
2172 bytes
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. -- ---------------------------------------------------------------------------- | 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:
<Sh1K1KAnlAI6Ewx3@verge.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com>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/25 Message-ID: <Sh1K1KAnlAI6Ewx3@verge.net> X-Deja-AN: 697669020 X-NNTP-Posting-Host: verge.demon.co.uk:158.152.91.232 References: <pudv1t0acfbsk1j3nvptjlkr9fd803kqom@4ax.com> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 975179296 nnrp-01:2446 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: 25 Nov 2000 18:53:41 GMT Newsgroups: demon.tech.unix