Local File and Folder Permissions

While the concepts of file ownership and permissions are basic to Linux, these concepts make up the standard discretionary access control system. File permissions are an elementary part of security on Linux. If you’re already familiar with file permissions, this section should be a simple review.

Strictly speaking, there are no separate folders in Linux. Everything in Linux is a file. Folders that might exist in file browsers such as Nautilus and Konqueror are based on Linux directories. Directories are just a special kind of file. There are other special kinds of Linux files.

To summarize, just about all you need to know with respect to file and folder permissions is shown in the output from the ls -l command. ...

Get Security Strategies in Linux Platforms and Applications, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.