Understand Linux file permissions and ownership. Learn to read and modify permissions using chmod, change ownership with chown, and apply security best practices.
Create files to practice permission changes.
cd ~mkdir perms-practice && cd perms-practicetouch script.sh config.conf data.txtls -lls -l shows detailed file information including permissions. First column shows permissions string. We'll learn to read and modify these.
Three empty files created. ls -l shows permission string like -rw-r--r-- for each file, plus owner, group, size, date.