Hands-on task
This task is step 14 of the course “Users, groups and permissions”
Which files are read-only
In the certificate store /etc/certs, private keys must have permissions of exactly 400 (read-only for the owner). Find the regular files with permissions of exactly 400 and write their full paths (sorted) to /root/readonly.txt.
What you'll practise:
- find
- -perm
- exact permission match
- -type f
- sort