🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: demon.tech.unix
3 messages
3 total messages Started by Richard Tibbetts Sat, 25 Nov 2000 00:00
A question of permissions.
#324
Author: Richard Tibbetts
Date: Sat, 25 Nov 2000 00:00
25 lines
1337 bytes
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!
-- 
Richard Tibbetts
http://www.primepeace.ltd.uk/
Re: A question of permissions.
#326
Author: Robin
Date: Sat, 25 Nov 2000 00:00
32 lines
1745 bytes
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

ps is this cyborg as in the cobolesque pyroll thing or something else?

r.
Re: A question of permissions.
#327
Author: Richard Tibbetts
Date: Sat, 25 Nov 2000 00:00
43 lines
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/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads