Allow only owners/root to delete their own files.
Section: Special Permission Bits
Set sticky bit on directory
bash
bash
chmod +t /shared/tmpLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Special Permission Bits