only wr permission to owner code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: how to revoke permissions from group and others
chmod go-rwx file
sudo chmod -R a+rwx /path/to/folder
chmod go-rwx file