New answers tagged xattr
On my system, at least, /var/lock (or actually /run/lock, the former is a symlink to the latter) has the sticky bit set. That means that only the owner of the lockfile or directory can delete it, not anyone with write on the directory (the same way /tmp works). On other distros, the directory only writable by a few users (so random users can't mess with it ...
Top 50 recent answers are included