Why Can't I Delete Their File in /tmp?
/tmp is drwxrwxrwt. Everyone can create files there, but you can't delete another user's file. Why?
/tmp
drwxrwxrwt
Choose one answer
Files in /tmp belong to root, whatever user created them.
/tmp is mounted read-only for regular users after boot.
The sticky bit t: only a file's owner (or root) may delete it.
t
Write permission on a directory never allows deleting other people's files in it, on any directory.