File Permissions - natekreit/SYS-255 GitHub Wiki

Summary

In this lab I learned how to add the users I create to the groups I created and allow or restrict their permissions to files or directories.

Commands

chmod [group+-rwx] [destination]

Changes file permissions

chown [owner] [destination]

Changes owner

chgrp [group] [destination]

Changes the group

getfacl [directory/file]

Shows the file or directory permissions

ls -l /

Displays the list long ways