chmod go-r /tmp

Kozlov Sergey kozlov.sergey.404 at
Thu Aug 29 19:39:27 UTC 2013


As I know, all the applications know the names of files they create in /tmp.
So is it ok to "chmod go-r /tmp" for security reasons, so the attacker
can't get a list of temp files? Won't it break any applications?

I search a lot, but I couldn't find anything about it.
All the /tmp security hardening advised is to set nosuid,noexec for the

Tanks for answers.

Kozlov Sergey.

More information about the freebsd-questions mailing list