Hello,
I need to install a program from a DVD. It uses a sh script called setup.
root@ragnok: head -2 /media/cdrom0/setup
#!/bin/sh
root@ragnok: ls -l /media/cdrom0/setup
-r-xr-xr-x 1 root root 4688 Nov 8 08:38 /media/cdrom0/setup
root@ragnok: /media/cdrom0/setup
bash: /media/cdrom0/setup: Permission denied
The script has execute permission. Why am I denied permission to execute it?
Debian 6.0
Best regards,
Fred
I rarely use Linux, so I cannot give you any specific advice, but it looks like the dvd's filesystem is mounted noexec. You can confirm this by inspecting the output of the mount
command.
If this is what's happening, the next step would be to determine the cause. If you're mounting manually, check /etc/fstab. If you're using an automounter (this could be part of a desktop environment), check its documentation.
This concludes today's shot in the dark.
Regards,
Alister
1 Like
You are right.
Don't know how that happened. Things sometimes change without notice or permission.
Thanks for the help.
Best regards,
Fred