[PATCH v9 4/4] server: Use *at syscalls to implement temporary chmod behaviour