You are not logged in.
I've installed two new programs recently, srcds and the dmd d compiler. The dmd d compiler functioned perfectly when I first installed it, then I rebooted the machine, then I installed srcds.
Whenever I try to run dmd I get the error:
bash: /home/tom/Programs/dmd/bin/dmd: Permission denied
and whenever I try to run the srcds I first get:
bash: ./srcds_run: /bin/sh: bad interpreter: Permission denied
after which, I explicitly tell it to run with sh, at which point it tells me
'./srcds_i486' not executable, exiting
I'm quite confused as to why these programs are failing- all the permissions are 777, so should be free for all for everyone, yet no dice.
All my other programs work, however these are on a different partition (the ones I've having problems with are on my big Raid5 LVM array).
I have run several things on this disc before. The only change I can think of was moving my home folder to the big disc and symlinking back into the directory structure- this should not make a difference? (I didn't think). My FSTAB for that disc is rw,nosuid,dev,sexe,auto,user,async.
If anyone can shed some light, I'd be most appreciative.
Offline
Try chown
Offline
May we get a ls -l of these files? (and perhaps an id)
Offline
uid=1002(tom) gid=100(users) groups=6(disk),10(wheel),93(optical),100(users)
is the response from ID
and ls -l of my dmd folder is:
-rwxrwxrwx 1 tom users 85776 Aug 8 1996 dm.dll
-rwxrwxrwx 1 tom users 1031932 May 16 23:01 dmd
-rwxrwxrwx 1 tom users 64 Jan 28 2007 dmd.conf
-rwxrwxrwx 1 tom users 1084444 May 16 21:25 dmd.exe
-rwxrwxrwx 1 tom users 39064 Apr 23 19:32 dumpobj
-rwxrwxrwx 1 tom users 150288 Aug 8 1996 eecxxx86.dll
-rwxrwxrwx 1 tom users 80656 Aug 8 1996 emx86.dll
-rwxrwxrwx 1 tom users 48668 Sep 20 2004 make.exe
-rwxrwxrwx 1 tom users 275216 Aug 8 1996 mspdb41.dll
-rwxrwxrwx 1 tom users 90348 Apr 23 19:32 obj2asm
-rwxrwxrwx 1 tom users 307924 Feb 25 2006 rdmd
-rwxrwxrwx 1 tom users 131100 Nov 26 2006 rdmd.exe
-rwxrwxrwx 1 tom users 687 Apr 26 2006 readme.txt
-rwxrwxrwx 1 tom users 32768 Jun 10 1999 replace.exe
-rwxrwxrwx 1 tom users 146 Nov 18 2002 sc.ini
-rwxrwxrwx 1 tom users 57616 Aug 8 1996 shcv.dll
-rwxrwxrwx 1 tom users 57372 Oct 18 2005 shell.exe
-rwxrwxrwx 1 tom users 8976 Aug 8 1996 tlloc.dll
-rwxrwxrwx 1 tom users 559888 Aug 8 1996 windbg.exe
-rwxrwxrwx 1 tom users 215274 Aug 8 1996 windbg.hlp
As you can see, I own then, and they are all executable by everything. I'm outta my deapth.
Last edited by snafle (2008-08-07 17:35:28)
Offline
Well.. do all other executables shell scripts execute? And yeah, _do_not_ keep a 777 permission... 755 is good enough for most
Be yourself, because you are all that you can be
Offline
I can't execute anything on the LVM.
Offline
Try putting the mount option ' exec ' in your /etc/fstab then remount your partition or reboot.
If it already has a ' noexec ' mount option, remove it.
Last edited by xvalentinex (2008-08-09 22:10:06)
Offline
It already does, I must have mistyped when I transposed it into here. The bit that says "sexe" is actually exec.
My FSTAB for that disc
rw,nosuid,dev,exec,auto,user,async
Offline
Weirdly thing is on my main disc (which is only different in that it isn't LVM- it's still a partition on the RAID 5 array), dmd works no worried. It's got to be something to do with the disc.
Last edited by snafle (2008-08-11 19:15:14)
Offline
It already does, I must have mistyped when I transposed it into here. The bit that says "sexe" is actually exec.
My FSTAB for that disc
rw,nosuid,dev,exec,auto,user,async
user implies 'noexec', so move exec after 'user'
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline