Understanding and Viewing Linux File Permissions

1 min read

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…...

This content is for DDI Basic Membership only.
Join Now
Already a member? Log in here
Stefan Silverio I am an engineering and business student who recently moved from the Bay area to NYC. I bartend part-time and am primarily interested in low-level programming and cyber-security.