Adding and Removing Linux Permissions

Grant the execute permission to the group.

ls -l example.py
-rw-r--r-- 1 pi pi 4452 Jul 25 18:01 example.py
chmod g+x example.py --- g is for group, x is for execute
ls -l example.py
-rw-r-xr-- 1 pi pi 4452 Jul 25 18:01 example.py

The group rights have changed from ----r------ to ----r-x---