1

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.

3 Answers 3

1

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.

2
  • Or, since it's a bash script, bash myscript.sh.
    – oKtosiTe
    Commented Jan 22, 2011 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. Commented Jan 25, 2011 at 19:52
0

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

1
  • How would the execute bit be stored on CDFS?
    – oKtosiTe
    Commented Jan 22, 2011 at 20:46
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .