Change file attributes
May 28,93You can use the chattr command to change file attributes in Linux. You can secure your files by modifying their …
Read MoreSet the default permissions for newly created files
May 28,93By default, when you create a file as a regular user, it’s given the permissions of rw-rw-r–. You can use the …
Read MoreModify file permissions
May 28,93To modify a file’s permissions, the chmod command is used. Only the owner of the file and root can use …
Read MoreIdentify file type
May 28,93Consider the following output of the ls -l command: Notice the first character in each line of the output (the characters …
Read MorePermission bits
May 28,93In Linux, there are total of nine mode bits that set the basic access permissions. The first three bits set …
Read MorePermissions basics
May 28,93Permissions in Linux are designed to keep users from accessing other users’ private files and to protect important system files. …
Read More