⌚ Time to complete: 2 minutes
After completing this guide, you can be sure that all Python scripts inside your ROS workspace are executable and won’t fail because of the permission errors.
Go to src folder of your ROS workspace:
WORKSPACE_NAME="ws_unity_x_ros"
ROS_WS_PATH=~/ros/${WORKSPACE_NAME}/
cd ${ROS_WS_PATH}src
Set file permissions:
find . -type f -name "*.py" -exec chmod 744 {} \;
Done! 🎉