> nope. you're right the locks' parent directory needs to be readable too. so does / and /usr and /var and ... and how far do we go? maybe we need a validate_path(char *, mode_t mode) function that checks things all the way up?