Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script uitvoeren binnen /home
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Dutch
View previous topic :: View next topic  
Author Message
water
Guru
Guru


Joined: 19 Jun 2002
Posts: 387
Location: Zierikzee, The Netherlands

PostPosted: Sun Jan 25, 2004 7:47 pm    Post subject: Script uitvoeren binnen /home Reply with quote

Ik kan geen scripts uitvoeren binnen /home. Is dit gentoo-specifiek. Foutmeldingen die ik krijg:

bash: ./xmod2: /bin/bash: bad interpreter: Toegang geweigerd
bash: /home/kees/xmod2: /bin/bash: bad interpreter: Toegang geweigerd
bash: /home/kees/xmod2: /bin/bash: bad interpreter: Toegang geweigerd

Zelfs root krijgt die foutmelding. Het zelfde script vanaf een andere locatie (cp -p ...) werkt wel. Ik vermoedt dat het iets van bash is. Weet iemand hier meer van?
_________________
Groeten uit Holland
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Sun Jan 25, 2004 9:45 pm    Post subject: Reply with quote

een mogelijk probleem kan hetvolgende zijn:
als je /home dir op een andere partitie staat, en die is noexec gemount, dan weigert die inderdaad om uitgevoerd te worden.
fstab aanpassen zou dan moeten werken
Back to top
View user's profile Send private message
woko
n00b
n00b


Joined: 27 Jan 2004
Posts: 4

PostPosted: Tue Jan 27, 2004 10:40 am    Post subject: Reply with quote

kijk eens in je /etc/fstab of je je /home partitie hebt gemount met noexec of met users. users zet namelijk ook je partitie op noexec.

ik heb hier 2 dagen mee gekloot voordat ik dat door had.
Back to top
View user's profile Send private message
water
Guru
Guru


Joined: 19 Jun 2002
Posts: 387
Location: Zierikzee, The Netherlands

PostPosted: Tue Jan 27, 2004 6:43 pm    Post subject: Reply with quote

Dank u, twee keer raak. /home is gemount met user.
_________________
Groeten uit Holland
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Dutch All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum