CentOS: File Permissions Cheat Sheet

# Change file permis­sions to 775

chmod 775 file

# Recurs­ively chmod folder to 600

chmod -R 600 folder

# Change file owner to user and group to group

chown user.g­roup file

Leave a Reply

Your email address will not be published. Required fields are marked *