rox.eclass changes permissions for certain files to 0755. However, some rox apps (eg. OroboROX) have subdirectories that themselves have AppRun or AppletRun scripts. These are not accounted for. This causes Application Directories in Rox not to function as expected. Reproducible: Always Steps to Reproduce: 1. emerge oroborox (for example) 2. navigate to /usr/lib/rox/OroboROX/Configure directory 3. Click on any of the Application Subdirectories (Schemes/Windows, etc) Actual Results: Clicking on the Configure directory (from the above example), instead of the AppRun script in each directory running, Rox simply changes to that directory and displays the contents. Expected Results: Rox should execute the AppRun script and the AppRun scripts should be marked world executable The attached patch for rox.eclass implements the find command with xargs instead of a hard coded chmod command for the Application's root directory. This allows any and all AppRun or AppletRun scripts to be changed. find ${D}/usr/lib/rox/${APPNAME} -name 'AppRun' | xargs chmod 0755 >/dev/null 2>&1 find ${D}/usr/lib/rox/${APPNAME} -name 'AppletRun' | xargs chmod 0755 >/dev/null 2>&1 Without this, user would have to sudo and change any AppRun or AppletRun scripts that were not touched manually. This could be dangerous.
Created attachment 68656 [details, diff] rox.eclass.patch file Provides alternate method to touch all AppRun and AppletRun files in all rox application subdirectories using the find command.
*** This bug has been marked as a duplicate of 106774 ***