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
ls -l example.py

6.-rwxr-x–x 1 harry users 2.7K Jan 4 07:32 frog.png 7.user@bash: 8.user@bash: chmod u-w frog.png 9.user@bash: ls -l frog.png 10.-r-xr-x–x 1 harry users 2.7K Jan 4 07:32 frog.png 11.user@bash: