Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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 to get around that.

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

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

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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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