Saturday, September 16, 2023

How to get grant execute permissions

The "Permission denied" error you're encountering indicates that you don't have 
execute permissions for the build.sh script. To fix this, you'll need to grant execute 
permissions to the script before running it. Here's how you can do that:

Check Current Permissions:
Run the following command to view the current permissions for the build.sh script:


                                        ls -l build.sh

This will show you the permissions in the format -rwxr-xr-x where the 'x' indicates 
execute permissions.

Grant Execute Permissions:
If the script doesn't have execute permissions (lacking 'x'), you can grant them using 
the chmod command:


                                      chmod +x build.sh

This command adds execute permissions to the script.

Verify Permissions:
Run ls -l build.sh again to confirm that execute permissions have been granted.

Run the Script:
Now you should be able to run the script:


                                    ./build.sh

If successful, this will execute the script.

Chromebook OS tukar ke Linux/Window OS

Sebelum kita mulakan, pastikan chromebook anda ada tersenarai dalam list ni, jika tiada... sila beli yang ada dalam list tersebut. klik sin...