save to bash file permission denied mac code example Example: macos executable permission denied chmod 755 executable