Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
americas army permision denied [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
maczetax
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2004
Posts: 124
Location: Warsaw

PostPosted: Tue Oct 12, 2004 4:41 pm    Post subject: americas army permision denied [SOLVED] Reply with quote

Witam,

Chciałem sobie w cos pograć na gentoo ;) więc zainstalowałem american's army po instalacji chce uruchomić a tu:

Code:

root@bestia /dane/armyops :) ./armyops
bash: ./armyops: /bin/sh: bad interpreter: Permission denied


lub

Code:

root@bestia /dane/armyops :) sh armyops
armyops: line 49: /dane/armyops/System/armyops-bin: Permission denied
armyops: line 49: /dane/armyops/System/armyops-bin: Success

_________________
pozdrawiam
maczeta

| Registered Linux User# 263545| maczetaxxx@wp.pl
www.maczeta.no-ip.org | 1553095(gg)


Last edited by maczetax on Tue Oct 12, 2004 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Tue Oct 12, 2004 4:46 pm    Post subject: Reply with quote

eeee.. generalnie nie odpala sie tego typu rzczy spod roota, wlasnie dlatego. sprobuj to zrobic spod zwyklego usera (jezeli masz go w grupie 'games', jak nie, daj odpowiedniego chmoda dla /usr/bin/games/aa-bin (czy jak sie to tam zwie)... i odpalaj spod zwyklego konta.
mam nadzieje, ze to jest to o c oCi chodzilo
pozdrawiam
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
maczetax
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2004
Posts: 124
Location: Warsaw

PostPosted: Tue Oct 12, 2004 4:58 pm    Post subject: Reply with quote

Code:

root@bestia /dane/armyops :) chmod -Rv 777 /dane/armyops/
root@bestia /dane/armyops :) chown -Rv  maczeta /dane/armyops/
root@bestia /dane/armyops :) chgrp -Rv  users /dane/armyops/


maczeta@bestia /dane/armyops :) ./armyops
bash: ./armyops: /bin/sh: bad interpreter: Permission denied
maczeta@bestia /dane/armyops :) sh System/armyops-bin
System/armyops-bin: System/armyops-bin: cannot execute binary file

_________________
pozdrawiam
maczeta

| Registered Linux User# 263545| maczetaxxx@wp.pl
www.maczeta.no-ip.org | 1553095(gg)
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Tue Oct 12, 2004 5:44 pm    Post subject: Reply with quote

A czy ta partycja nie ma 'noexec' w opcjach montowania?
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
maczetax
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2004
Posts: 124
Location: Warsaw

PostPosted: Tue Oct 12, 2004 6:01 pm    Post subject: Reply with quote

Code:

/dev/hdg4               /dane           reiserfs        noatime,rw,user                 0 0


wszystko inne dziala :?
_________________
pozdrawiam
maczeta

| Registered Linux User# 263545| maczetaxxx@wp.pl
www.maczeta.no-ip.org | 1553095(gg)
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Tue Oct 12, 2004 7:12 pm    Post subject: Reply with quote

instalowales via emerge (1), czy jakims cydnym instalatorem z gry(2)?

1) dodaj usera do grupy games - tak to sobie chlopcy z games-teamu wymyslili i tak ma byc ;)

2) wjedz do katalogu nadrzednego do gry i
Code:
chown -R user:grupa katalog
podlug usera (i jego grupy), ktory ma te gre odpalac.

Pozdrawiam,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
maczetax
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2004
Posts: 124
Location: Warsaw

PostPosted: Tue Oct 12, 2004 8:46 pm    Post subject: Reply with quote

Scignełem plik bin zainstalowałem z instalatora z konta root'a... po podpowiedziach:

Code:

root@bestia /dane :) chown -R maczeta:games armyops/
root@bestia /dane :) ls -l armyops/
total 53
drwxrwxrwx  2 maczeta games   328 Oct 12 16:34 Animations
-rwxrwxrwx  1 maczeta games  1304 Oct 12 19:46 armyops
-rwxrwxrwx  1 maczeta games 10797 Oct 12 16:53 ArmyOps210_EULA.txt
-rwxrwxrwx  1 maczeta games  9351 Oct 12 16:53 ArmyOps.xpm
drwxrwxrwx  2 maczeta games  4240 Oct 12 16:34 Briefings
drwxrwxrwx  2 maczeta games   272 Oct 12 16:34 Demos
drwxrwxrwx  2 maczeta games   712 Oct 12 16:35 Help
drwxrwxrwx  2 maczeta games    88 Oct 12 16:35 KarmaData
drwxrwxrwx  2 maczeta games  1432 Oct 12 16:38 Maps
drwxrwxrwx  2 maczeta games   112 Oct 12 16:38 Movies
drwxrwxrwx  2 maczeta games   136 Oct 12 16:38 Music
-rwxrwxrwx  1 maczeta games  1178 Oct 12 16:53 README.linux
drwxrwxrwx  2 maczeta games  1064 Oct 12 16:44 Sounds
drwxrwxrwx  2 maczeta games  1512 Oct 12 16:47 StaticMeshes
drwxrwxrwx  7 maczeta games  1992 Oct 12 16:53 System
drwxrwxrwx  2 maczeta games  2024 Oct 12 16:52 Textures
-rwxrwxrwx  1 maczeta games  1256 Oct 12 16:53 uninstall


maczeta@bestia /dane/armyops :) armyops
bash: /usr/local/bin/armyops: /bin/bash: bad interpreter: Permission denied
maczeta@bestia /dane/armyops :) sh armyops
armyops: line 49: /dane/armyops/System/armyops-bin: Permission denied
armyops: line 49: /dane/armyops/System/armyops-bin: Succes


:(
_________________
pozdrawiam
maczeta

| Registered Linux User# 263545| maczetaxxx@wp.pl
www.maczeta.no-ip.org | 1553095(gg)
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Tue Oct 12, 2004 8:48 pm    Post subject: Reply with quote

Pokaz wynik
Code:
mount

_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
maczetax
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2004
Posts: 124
Location: Warsaw

PostPosted: Tue Oct 12, 2004 9:04 pm    Post subject: Reply with quote

Code:

maczeta@bestia / :) mount
/dev/hdg5 on / type reiserfs (rw,noatime)
none on /dev type devfs (rw)
none on /proc type proc (rw)
/dev/hdg1 on /boot type reiserfs (rw,noatime,notail)
/dev/hdg4 on /dane type reiserfs (rw,noexec,nosuid,nodev,noatime)
none on /dev/shm type tmpfs (rw)
none on /proc/bus/usb type usbfs (rw)


no jednak jest noexec :oops:
_________________
pozdrawiam
maczeta

| Registered Linux User# 263545| maczetaxxx@wp.pl
www.maczeta.no-ip.org | 1553095(gg)
Back to top
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Tue Oct 12, 2004 9:05 pm    Post subject: Reply with quote

maczetax wrote:
no jednak jest noexec :oops:


:lol:
_________________
[color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]

[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166]
Back to top
View user's profile Send private message
maczetax
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2004
Posts: 124
Location: Warsaw

PostPosted: Tue Oct 12, 2004 9:09 pm    Post subject: Reply with quote

po dopisaniu do fstaba exec , wszystko działą jak powinno, dzięki nelchael :D
_________________
pozdrawiam
maczeta

| Registered Linux User# 263545| maczetaxxx@wp.pl
www.maczeta.no-ip.org | 1553095(gg)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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