I have a self-extracting Bash installation script. I'd like to burn this to CD on my Windows box, drop that in a Linux box, and run the script straight off the CD drive.

Is there a way to add "+x" Permission on the Windows box when creating the CD?

I've been using the built in "writable folder"/"burn to disc" method, but think I have nero sitting around somewhere.

link|improve this question
feedback

3 Answers

up vote 1 down vote accepted

You need the rock ridge extensions. But even so a CD is often mounted noexec, so that +x flag won't help you anyway. You can always run a script directly by invoking the shell,sh myscript.sh to get around that.

link|improve this answer
Or, since it's a bash script, bash myscript.sh. – oKtosiTe Jan 22 '11 at 20:47
I ended up requiring the end user to call "bash script.sh", as I can't confirm that the disc will be mounted without noexec. – stormwald Jan 25 '11 at 19:52
feedback

It seems your best bet would be Cygwin or MinGW to create the permissions for real.

link|improve this answer
How would the execute bit be stored on CDFS? – oKtosiTe Jan 22 '11 at 20:46
feedback

You need burning software that can handle Rock Ridge such as CDEveryWhere, GEAR PRO, or possibly mkisofs under Cygwin.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.