View previous topic :: View next topic |
Author |
Message |
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Mon Feb 08, 2016 7:59 pm Post subject: [SOLVED] impossible execute programs !! |
|
|
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 bash sayd again 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 |
|
|
likewhoa l33t
Joined: 04 Oct 2006 Posts: 778 Location: Brooklyn, New York
|
Posted: Mon Feb 08, 2016 8:12 pm Post subject: |
|
|
# chmod +x a.out
# ./a.out |
|
Back to top |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
Posted: Mon Feb 08, 2016 8:15 pm Post subject: |
|
|
I solved ! was home partition mounted with flag in fstab ...
sorry for this stupid thread ! |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon Feb 08, 2016 8:24 pm Post subject: |
|
|
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 |
|
|
|