What is a sticky Bit and how to set it in Linux?

Today we will see how to set Sticky Bit in Linux. This is next to SGID in our ongoing File and Folder permissions series in Linux. We already discussed about CHMOD, UMASK, CHOWN, CHGRP, SGID and SUID file and folder permissions etc in our previous posts. In this post we will see What is Sticky Bit? Why we require(…)

What is SGID and how to set SGID in Linux?

This is next to SUID in our ongoing Linux file and folder permissions series. We already discussed about CHMOD, UMASK, CHOWN, CHGRP, SUID, StickyBit and SUDO  concepts in our previous posts. In this post we will see What is SGID? Why we require SGID? Where we are going to implement SGID? How to implement SGID in Linux?  (…)

What is SUID and how to set SUID in Linux/Unix?

There are some other special permission apart from the normal file permissions read, write and execute which we set with chmod and chown commands. They are SUID, SGID, Sticky Bit, ACL's, SUDO, SELinux for granular file/folder management by Linux administrator. Today we will see 1) What is SUID? 2) How to set SUID? 3) Where to use(…)

What is UMASK and how to set UMASK in Linux/Unix?

UMASK (User Mask or User file creation MASK) is the default permission or base permissions given when a new file (even folder too, as Linux treats everything as files) is created on a Linux machine. Most of the Linux distros give 022 (0022) as default UMASK. In other words, it is a system default permissions(…)

chgrp command explained in Linux with examples

CHGRP(CHange GRouP) is one more command which is useful to change group associated to a file/folder from one group to other in a Linux box. This is sister command to chown which is used to change owner of the file/folder as well as group name associated with that file. chgrp command syntax:    chgrp options(…)

What is the meaning of trailing dot in drwxr-xr-x Linux file permissions?

Q. Today I am came across a strange permissions listing ie dot, What is meant by dot in file/folder permissions in drwxr-xr-x in Linux? This is actually a small post, which is asked by one of the requester. This is a special permission in Linux which is recently included. Some times you will be seeing(…)

chmod command explained for Linux/Unix

The chmod command in Linux/Unix is abbreviated as CHange MODe. Chmod command is useful to change permission for Files and folders in Linux/Unix. File/Directory permission is either Read or Write or executable for either user or group or others. This type of restriction is useful for effective file/folder management, securing system and providing a level(…)