Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] impossible execute programs !!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 919

PostPosted: Mon Feb 08, 2016 7:59 pm    Post subject: [SOLVED] impossible execute programs !! Reply with quote

Hi there ! this morning i wrote a post where i was trying lunch ./configure for a source package .... now I got the real propblem ! looks like that i cannot run (execute) nothing ! just with my user!

I've compiled c++ simple program , this create the output a.out .... but when i try to run
Code:
./a.out
bash sayd again
Code:
Permission denied
looks very very strange !!! this in my home folder and wherever .... I'm going crazy ! my user is in the sudoers file etc..

groups:
Code:
wheel audio cdrom video users input


Last edited by drudox on Mon Feb 08, 2016 8:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Mon Feb 08, 2016 8:12 pm    Post subject: Reply with quote

# chmod +x a.out
# ./a.out
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 919

PostPosted: Mon Feb 08, 2016 8:15 pm    Post subject: Reply with quote

I solved ! was home partition mounted with
Code:
noexec
flag in fstab ...
sorry for this stupid thread !
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Feb 08, 2016 8:24 pm    Post subject: Reply with quote

drudox ... I'm tempted to ask why you think sudoers, or groups, play some part in this ... those would seem completely tangencial to the problem. Anyhow, please post the output of the following:

Code:
$ whoami
$ ls -l ./a.out
$ mount | grep '^/'

best ... khay

EDIT: ok, as I suspected, noexec
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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