Member-only story
Linux Permission 101
One of the main benefits of Linux systems is that they are known to be less prone to security vulnerabilities and exploits than other systems. Linux definitely gives users more flexibility and granular controls over its file systems’ security permissions. This may imply that it’s critical for Linux users to understand security permissions. That isn’t necessarily true, but it’s still wise for beginning users to understand the basics of Linux permissions.
View Linux security permissions
To start learning about Linux permissions, imagine we have a newly created directory called PermissionDemo. Run cd inside the directory and use the ls -l command to view the Linux security permissions. If you want to sort them by time modified, add the -t option.
ls -lt
Since there are no files inside this new directory, this command returns nothing.
To learn more about the ls option, access its man page by entering man ls on the command line.
Now, let’s create two files: cat.txt and dog.txt with empty content; this is easy to do using the touch command. Let’s also create an empty directory called Pets with the…