Please see explanation
We can change the permission of file/directory either character symbol method or numeric method. Permission: r-Read w-Write x-Execute Permission Category u- Owner User g- Owner Group o- Others Operators - + -> Add the Permissions - ->Remove the Permissions = ->Assign the Permissions Numeric Method: 4 -> Read 2 -> Write 1 -> Execute Total: 7, total for owner user, owner group member and for others: 777 1. chmod u+rwx /data 2. chmod g+rwx /data 3. chmod o-rwx /data or chmod 770 /data 4. Verify the /data: ls -ld /data 5 .You will get drwxrwx---