daemon: Fix directory permissions during Debian installation