You are here
Home > Redhat > To understand the concept about SGID

To understand the concept about SGID

1. Create a group called online

2. Create a folder called training

3. Create 3 Users “ sys1 sys2 sys3 “

4. Add these 3 users into the group called online

5. Change the group owner online for the folder training

6. Create a file &folders under the directory Online

7. Check the owner of the group for every folder & files

8. It is in the respective of User’s Group

9. Do delete a file or folder irrespective the owner of the group

10. Now set the GUID
 

  • # chmod 2775 /training
     
  • Check the SGID setting on the folder
     

11. Now do create the files & folders

12. Try to add one more user into the group

13. Test the ownership of the folder

14. Now what is SGID Just Realize !!!!!!!!

Leave a Reply

Top