Mastering Linux File Management with Chown, Chgrp, and Umask

Started with linux file management - Today spent time going deeper into file handling, not just basic commands. Worked around some permission edge cases - changing ownership vs group and how that actually affects access in multi-user scenarios. Used chown and chgrp properly instead of treating them the same. chmod with numeric values makes more sense now when thinking in terms of 4,2,1 - way better than guessing 755/644. umask finally clicked - it’s not setting permissions, it’s removing from the defaults.  So new file/dir permissions don’t feel random anymore. Also tested differences while copying and moving files. Like how permissions and structure behave during operations,  and how recursive (-r) actually applies on nested directories. Compression part got clearer after trying it: - tar for bundling  - then compression like gzip on top of it  So the flow is: archive → compress, not mixing both. Also tried moving files across locations and handling structure changes. With that pushed all the raw notes to a github repo for future reference - https://lnkd.in/gAMG76Q2 #devops #linux

To view or add a comment, sign in

Explore content categories