View previous topic :: View next topic |
Author |
Message |
as.gentoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Shock_Trooper.gif)
Joined: 07 Aug 2004 Posts: 321
|
Posted: Thu Sep 06, 2018 11:36 am Post subject: [solved/invalid] apps don't work anymore on a different CPU |
|
|
Greetz!
Since I have a new CPU some programs do not work anymore. I get:
Code: | $> ./glxs
bash: ./glxs: Permission denied
$>
$> ls -al ./glxs
-rwxr-xr-x 1 xxx users 422704 Sep 3 08:05 ./glxs
$>
(gdb) run ./glxs
Starting program: /home/xxx/glexcess/glxs
/bin/bash: /home/xxx/glexcess/glxs: Permission denied
/bin/bash: line 0: exec: /home/xxx/glexcess/glxs: cannot execute: Permission denied
During startup program exited with code 126.
$>
$> strace ./glxs
execve("./glxs", ["./glxs"], [/* 68 vars */]) = -1 EACCES (Permission denied)
write(2, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
) = 32
exit_group(1) = ?
+++ exited with 1 +++
$>
$> file ./glxs
./glxs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped |
Maybe it's something completely different. Please help!
Thanks in advance!
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Last edited by as.gentoo on Thu Sep 06, 2018 2:22 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31470 Location: here
|
Posted: Thu Sep 06, 2018 11:49 am Post subject: |
|
|
It seems a permission problem, what permission have /home/xxx/glexcess/glxs file? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
as.gentoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Shock_Trooper.gif)
Joined: 07 Aug 2004 Posts: 321
|
Posted: Thu Sep 06, 2018 11:56 am Post subject: |
|
|
citation + text below
Last edited by as.gentoo on Thu Sep 06, 2018 12:05 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
as.gentoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Shock_Trooper.gif)
Joined: 07 Aug 2004 Posts: 321
|
Posted: Thu Sep 06, 2018 12:00 pm Post subject: |
|
|
Jaglover wrote: | Perhaps the filesystem is mounted with noexec? |
No:
Code: | /dev/sdi on /home type xfs (rw,nosuid,nodev,noexec,noatime,attr2,inode64,noquota,uhelper=udisks2) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
as.gentoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Shock_Trooper.gif)
Joined: 07 Aug 2004 Posts: 321
|
Posted: Thu Sep 06, 2018 12:03 pm Post subject: |
|
|
Jaglover wrote: | I see noexec as active mount option. |
Ah, thanks a lot! … Altough I think I remember not using 'noexec' and glxs still worked…
EDIT: That was tmpfs…
Last edited by as.gentoo on Thu Sep 06, 2018 12:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
as.gentoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Shock_Trooper.gif)
Joined: 07 Aug 2004 Posts: 321
|
Posted: Thu Sep 06, 2018 12:04 pm Post subject: |
|
|
fedeliallalinea wrote: | It seems a permission problem, what permission have /home/xxx/glexcess/glxs file? |
Code: | $ ls -al . ./data | grep -vE '.cpp$|.h$|.o$|.dsp$|.dsw|.raw$' | sed 's,gentoo,xxx,'
.:
total 2156
drwxr-xr-x 3 xxx users 4096 Sep 6 13:45 .
drwxr-xr-x 4 xxx users 109 Sep 6 01:25 ..
-rw-r--r-- 1 xxx users 1612 Oct 11 2003 ChangeLog
-rw-r--r-- 1 xxx users 17992 Oct 11 2003 LICENSE
-rw-r--r-- 1 xxx users 1356 Oct 11 2003 Makefile
-rw-r--r-- 1 xxx users 1908 Oct 11 2003 ReadMe.txt
drwxr-xr-x 2 xxx users 4096 Oct 11 2003 data
-rwxr-xr-x 1 xxx users 422704 Sep 6 01:25 glxs
./data:
total 34432
drwxr-xr-x 2 xxx users 4096 Oct 11 2003 .
drwxr-xr-x 3 xxx users 4096 Sep 6 13:45 ..
-rw-r--r-- 1 xxx users 16384 Jun 17 2003 face.dat |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|