Sticky bit in LINUX

by MWittmann237
Reply

Original Post

Sticky bit in LINUX

★★★★ Novice

Hi everyone, 

 

I have a small question.

 

I dont understand what the sticky bit does in linux. I use ubuntu as OS.

For example. you have rwx-rwx-rwxt and in this case , only user can delte files.

But i dont uderstand why that is. can somone explain. in 2 days i have exame and i really need some help.

 

Thx in advance !! 

Message 1 of 3 (238 Views)

Re: Sticky bit in LINUX

[ Edited ]
Community Manager

Hi @MWittmann237,

Apologies for the late reply on this. I know we've got some Linux users here on the Apex Legends boards, but I'm afraid this probably isn't the best place to ask for help with something like this.

You might be better off reaching out at a dedicated Linux or Ubuntu site for an answer.


/Kent

Kent.png
Message 2 of 3 (216 Views)

Re: Sticky bit in LINUX

★★★★★ Apprentice

@MWittmann237 

 

Did you meant "rwx rwx rwt"?

 

Run "man chmod" in your terminal to learn more about sticky bit and SUID

 

Simply, sticky bit is a way to prevent others, rather than users with permission, to delete essential files and folders.

 

Learn more in https://en.wikipedia.org/wiki/Sticky_bit#Usage

Message 3 of 3 (188 Views)