I thought I understood Linux file permissions — but it turned out there were a few conceptual gaps. This topic, while not the most exciting, is quite important. So read on and see if you have a solid grasp. Firstly, any file or directory in Linux has different categories of permissions — user, group, and other. The different permissions set for these groups determine who can do what with a given resource. If we inspect a file in our system we’ll see the following: As you probably know, “-rw — rw-r — ” describes the permissions on the file “print_sq_pattern.c.” The “vagrant vagrant” section means that the files…...
Understanding and Viewing Linux File Permissions
1 min read