Discussion:
Can't Execute BASH Script on CR-ROM Under Fedora 6 KDE
(too old to reply)
Al Koch
2007-06-27 20:42:42 UTC
Permalink
Hello,

I am running Fedora Core 6 and I have a BASH script that is on a CR-ROM (that installs software on the CR-ROM). When I run GNOME I
can open the CR-ROM and double click on the script file and execute the script. However, if I change session to KDE and open the
CR-ROM and try to execute the script (with CTRL-E) I get the message "Executing shell commands works only on local directories".

Can anyone explain why this is happening and is there something I can do to execute the script on the CR-ROM under KDE?

Thank you for your help.
Al
***@MyRealBoxREMOVEALLTHESECHARS.com
Thank you.

Al Koch
***@MyRealBoxREMOVEALLTHESECHARS.com
JT
2007-06-28 01:55:46 UTC
Permalink
Post by Al Koch
Hello,
I am running Fedora Core 6 and I have a BASH script that is on a CR-ROM (that installs software on the CR-ROM). When I run GNOME I
can open the CR-ROM and double click on the script file and execute the script. However, if I change session to KDE and open the
CR-ROM and try to execute the script (with CTRL-E) I get the message "Executing shell commands works only on local directories".
Can anyone explain why this is happening and is there something I can do to execute the script on the CR-ROM under KDE?
Thank you for your help.
Al
Thank you.
Al Koch
Open up a terminal session and go to the directory where your CD-ROM is
mounted. Then find your install script and run it from the command
line. You should probably su to root just in case. Then run the script
like --> ./install_script.sh
Al Koch
2007-06-29 04:09:03 UTC
Permalink
Post by JT
Open up a terminal session and go to the directory where your CD-ROM is
mounted. Then find your install script and run it from the command
line. You should probably su to root just in case. Then run the script
like --> ./install_script.sh
Hi JT,

Yes, I can run it in a terminal and if there's no other way under KDE
I'll be stuck with that. But I'm hoping the script can be done from the
KDE GUI.

mount shows that the cdrom is "noexec" and I've seen some items from web
searches that suggest the KDE opens a CDROM this way as a
"security measure" (not sure how this is a security measure). Can you
confirm that this is the expected behavior? If so, is there anything
*simple* that would allow a User to "easily" get the CDROM set to "exec"
so they can just execute the script?

I need a really simple solution (like changing a setting using the KDE
GUI) because the targeted users are clerks in stores that are
setting up/updating a kiosk. Having to open a terminal and type the
command (with a leading "/.") may not fly in this situation. (I know,
it's really simple to us, but keep in mind who the Users are!) GNOME
apparently opens the CDROM as "exec" so I'm hoping someone has an "easy"
solution to allow KDE to do the same.
Thank you.

Al Koch
***@MyRealBoxREMOVEALLTHESECHARS.com
JT
2007-06-29 21:41:37 UTC
Permalink
Post by Al Koch
Post by JT
Open up a terminal session and go to the directory where your CD-ROM is
mounted. Then find your install script and run it from the command
line. You should probably su to root just in case. Then run the script
like --> ./install_script.sh
Hi JT,
Yes, I can run it in a terminal and if there's no other way under KDE
I'll be stuck with that. But I'm hoping the script can be done from the
KDE GUI.
mount shows that the cdrom is "noexec" and I've seen some items from web
searches that suggest the KDE opens a CDROM this way as a
"security measure" (not sure how this is a security measure). Can you
confirm that this is the expected behavior? If so, is there anything
*simple* that would allow a User to "easily" get the CDROM set to "exec"
so they can just execute the script?
I need a really simple solution (like changing a setting using the KDE
GUI) because the targeted users are clerks in stores that are
setting up/updating a kiosk. Having to open a terminal and type the
command (with a leading "/.") may not fly in this situation. (I know,
it's really simple to us, but keep in mind who the Users are!) GNOME
apparently opens the CDROM as "exec" so I'm hoping someone has an "easy"
solution to allow KDE to do the same.
Thank you.
Al Koch
Sorry, I'm still learning this GUI stuff. Most of my experience with
*nix has been from the command line.

Loading...