Hands-on task
This task is step 9 of the course “Archives and backups”
tar: preserve file permissions
Archive /root/perms into /root/perms.tar, then extract it into /root/restored so that the 750 permissions on the file secret.sh are preserved.
What you'll practise:
- tar
- permissions
- chmod
- stat
- archiving