The manual (pdf page 304) says > Additionally, to execute scripts anywhere outside of BBEdit (e.g. in the > Terminal), the system requires that the script file have ‘execute’ > permissions set. Thus, when you first save any script file which contains a > shebang (#!) line, BBEdit will automatically set execute permissions for your > login account (a+x, as modified by the umask) on that file. >
The problem is that doesn't seem to happen for me. #! scripts get saved as the same as text files. (I'm not on a file vault.) I created a file like this: #!/bin/bash echo 'hello world' exit 0 and saved it as "testtj.sh" but then when I check the permissions: % ls -l testtj.sh -rw-r--r-- 1 luomat 41 Jul 21 02:23 testtj.sh (My umask is '022') bb10 on Lion on a MacBook Air -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
