Linux uses a three-tier permission system:
rwxr-xr--
means owner has read/write/execute, group has read/execute, others have read only.# Change permissions using chmod
chmod 755 file.txt # rwxr-xr-x
chmod u+x script.sh # Add execute for owner
chmod g-w file.txt # Remove write for group
chmod o=r file.txt # Set others to read only
# Change ownership
chown user:group file.txt
chgrp newgroup file.txt