You are not logged in.
I am trying to use a program called Jamulus, and after successfully building from source I tried to run the binary. However, this gave a "Permision Denied" error, despite me owning the file and have execute permisions for it. Even when I attempted to run it as root it did not work.
I decided to try with other programs, such as Blender downloaded from the website (I am aware that there is an update to date version in the repositories, however this was for testing purposes), which also would not run.
I am just using:
./JamulusI completed the beginners guide and everything else seems to work fine. Is this actually a permissions problem or is something else going on?
Thank you for your time,
Mark
Last edited by feralferrets (2014-03-17 19:24:45)
Offline
What's the output of 'file <binary>' e.g. 'file /path/to/Jamulus'?
Offline
Where have you built the file? Specifically, what filesystem is it on, and what are the mount options?
Last edited by WorMzy (2014-03-16 23:36:40)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Is it +x?
Offline
Is it +x?
this gave a "Permision Denied" error, despite me owning the file and have execute permisions for it
Offline
Only so much I can see on this little screen ![]()
Offline
Only so much I can see on this little screen
Are you browsing the forum on a smartwatch? ;-)
Is there a way to get a log or a more verbose output out of Jamulus?
Offline
What's the output of 'file <binary>' e.g. 'file /path/to/Jamulus'?
Here you go:
$file Jamulus
Jamulus: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=96f41d8fd0ca68528a6ea945d624d7987589643c, not strippedWhere have you built the file? Specifically, what filesystem is it on, and what are the mount options?
It's on a ext4 partition, I have a seperate home partition so I do not mount it manually, but the fstab options are "defaults, user".
Is there a specific mount option I would need to be able to run binarys? I haven't done much with mount options because I mostly only manually mount flash drives to copy files.
Offline
There's the 'noexec' mount option:
noexec Do not allow direct execution of any binaries on the mounted filesystem. (Until recently
it was possible to run binaries anyway using a command like /lib/ld*.so /mnt/binary. This
trick fails since Linux 2.4.25 / 2.6.0.)
Offline
Right okay, and default includes 'exec', so it isn't that then. I've been trying to Google it, but nothing really seems to come up.
Is there a way to get a log or a more verbose output out of Jamulus?
I don't think so, I don't even think that it is running any of the Jamulus code. If it were limited to just Jamulus I would suspect the problem is with that, however it seems to be with any binary not from the Arch repos.
Last edited by feralferrets (2014-03-17 08:04:03)
Offline
What is the output of `ldd BINARY`? It might be linked to a library not available on your system
Offline
Right okay, and default includes 'exec', so it isn't that then. I've been trying to Google it, but nothing really seems to come up.
As falconindy wrote, 'user' overrides 'default' ('defaults'?) settings.
Offline
Since you said you're not mounting it manually, you don't need user at all, then. 'defaults' should do it.
Edit: The 'user' option is to mount or unmount it as a user. It has nothing to do with the access rights. Edit2: Except what mentioned above (including noexec evtl. more..)
Last edited by rebootl (2014-03-17 12:43:16)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Removing the user option in fstab did the trick. I thought I added it because I seem to remember when I logged in as a normal user it wasn't automatically mounting but that doesn't appear to be happening anymore.
Thank you for your guys's help!
Offline