Default Permissions
Practice: Use the umask command to view the value of the Umask property of the normal user and root user, respectively.
Special permissions
Practice: Add a group, two users, to do the next verification
First, add a group: TESTGRP, two users, TestUser1 and TestUser2.
Create the folder Linuxcast.net under/temp/, and specify the group that owns the folder as Testgrp.
Here's how to start the validation.
First create a Testfile1 file and set the SUID permissions for the file.
Set the Sgid permissions for the folder Linuxcast.net first, and then create two files Testfile2 and testfile3 to see if the files belong to the same group as the directory.
Finally, to verify the sticky permissions, Set the sticky permissions for the folder linuxcast.net first, then switch to TestUser1 user to create the file Testfile4 under the folder, and then switch to user TestUser2 to see if the file Testfile4 can be deleted.
Linux Extended permissions