Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the SUID, SGID and the Sticky Bits?

Bits sgid sticky suid
0
Posted

What are the SUID, SGID and the Sticky Bits?

0

Linux has some special attributes associated with all files. Often in X Windows when you check the properties of any file (by right clicking on it and viewing its properties) you would get to see 3 special attributes besides the common read/write/execute rights for the owner/group/others. The 3 extra attributes are known as SUID, SGID and Sticky Bits Sticky Bit Let’s start with Sticky bit first. Since this is the most simplest to explain. Setting the sticky bit tells UNIX that once the concerned application is executed, it should remain in memory. Remember that UNIX is a multi-user OS and was mainly designed so that multiple users can work simultaneously. Thus the logic used is that a program that exists in memory requires lesser time to start when a new user requests for the same program. Thus when one user has just used a program and then a new user wants to use the same program; the second user doesn’t have to face a time delay for the program to initialize itself. It would be readi

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.