How Do I Use Special Permissions in Linux?
Contents How Do I Set Special Permissions in Linux? Set-User-Id (Suid) You Can Set Suid Bit by Passing U + S to the Chmod Command: You Can Remove Suid Bit by...
Contents
How do I set special permissions in Linux?
Set-user-ID (SUID)
- You can set SUID bit by passing u + s to the chmod command:
- You can remove SUID bit by passing u – s to the chmod command:
- You can set SGID bit by passing g + s to the chmod command:
- You can remove SGID bit by passing g – s to the chmod command:
3 июл. 2020 г.
Must Read
What is the use of chmod 777?
chmod 777: Everything for everyone
This command will give read, write and execute permission to the owner, group and public. chmod 777 is considered potentially dangerous because you are giving read, write and execute permission on a file/directory to everyone (who is on your system).