Linux File Permissions: Understanding setuid, setgid, and the Sticky Bit

Before delving into this topic, the understanding of chmod and chown are compulsory here because these are the base for this topic. So, first understand chmod and chown command and read about these command. Let’s move with a basic introduction about these command. After reading this basic introductory you have roughly understand what these command …

chown Command

chown is an abbreviation for “change owner”, which is pretty self-explanatory. It change the ownership of file. You may have notice in chmod command that it change the read, write and execute permission not the ownership of file. So, to change the ownership of file we will use the chown command. Later on, we will …