we can modify them using the chmod
command. We pass in an octal permissions string and a file name, and it modifies the file we specify to have the permissions reflected by that string.
Typing chmod 0664 test.txt
will give theowner
read and write permissions, the group
read and write permissions, and everyone read only permissions.
Instructions
Modify test.txt
so it has the following permissions:
owner
-- read, write, and executegroup
-- read and writeeveryone
-- no permissions
Remember to add a 0
in front of the octal permissions string.
####
chmod 0760 test.txt