Add a new flag to check_private_dir to make it _not_ change permissions
commit5d147d8527da3c8cff7f5ab5f0d0185d51fff79b
authorNick Mathewson <nickm@torproject.org>
Fri, 13 May 2011 19:40:03 +0000 (13 15:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 16 May 2011 00:20:29 +0000 (15 20:20 -0400)
tree4ea4c6ffab1b8890d8308221640fbe409a7248f6
parent3b6cbf253494303f612eeb09a6fbb30a7c15c7fa
Add a new flag to check_private_dir to make it _not_ change permissions

We'll need this for checking permissions on the directories that hold
control sockets: if somebody says "ControlSocket ~/foo", it would be
pretty rude to do a chmod 700 on their homedir.
src/common/util.c
src/common/util.h