Does anybody know how the permissions of a file are set, or which file does the setting, when using the installer? The issue I have is when installing FlexJS nightly. The mxmlc file in <sdk>/bin does not have executable privileges. When using it as an external tool in IntelliJ on mac, I get a warning about permissions and cannot proceed. The solution is for me to find the file and chmod it. But of course, this becomes tedious if I have to do this every time I try out the updated nightly.
I found the following section of code at line 353 in github flex-asjs[0] that might be what I am looking for. <target name="mac-chmod" description="makes some scripts executable" unless="isWindows"> <exec executable="chmod" dir="${FLEXJS_HOME}"> <arg value="+x" /> <arg value="${FLEXJS_HOME}/js/bin/mxmlc"/> </exec> <exec executable="chmod" dir="${FLEXJS_HOME}"> <arg value="+x" /> <arg value="${FLEXJS_HOME}/js/bin/compc"/> </exec> </target> If we add the following to that target, might it fix the permissions problem? <exec executable="chmod" dir="${FLEXJS_HOME}"> <arg value="+x" /> <arg value="${FLEXJS_HOME}/bin/mxmlc"/> </exec> <exec executable="chmod" dir="${FLEXJS_HOME}"> <arg value="+x" /> <arg value="${FLEXJS_HOME}/bin/compc"/> </exec> [0] https://github.com/apache/flex-asjs/blob/develop/installer.xml -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-bin-mxmlc-executable-permissions-on-mac-tp46805.html Sent from the Apache Flex Development mailing list archive at Nabble.com.