Blog Archives

How to set the SetUID and SetGID bit for files in Linux and Unix

The setuid (set user id) is a permission bit, that allows the users to exec a program with the permissions of its owner. The setgid (set group id) is a bit that allows the user to exec a program with

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

How to use the sticky bit in Linux and Unix

The sticky bit is set on directories to forbid all the users in the system to rename or delete the directory or the files/directories inside the directory, except the owner and root, even if they have 777 permissions. To set

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!

How to change file and folders permissions with chmod – part 2

Previously, I have showed you how to change the file and folder access rights, by using the symbolic method. In this article I will show you how to change the file permissions in the octal mode (with numbers). The chmod

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!

How to change file and folder permissions with chmod – part 1

Permissions can be set in the octal mode (with digits), or with letters. In this article, we will change the file and folder access rights in the human readable representation with chmod. In Linux and Unix systems, the file and

Tagged with: , , , ,
Posted in The Linux and Unix Articles!