In gadmin-bind source directory: $ grep -r "chown -R" *src/add_configuration.c: command = g_strdup_printf("chown -R %s:%s %s/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF); src/add_domain.c: command = g_strdup_printf("chown -R %s:%s %s/etc/sites/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF); src/gadmin-bind.c: command = g_strdup_printf("chown -R %s:%s %s/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF);
I highly suspect that, given your comment about no chroot support, that CHROOT_PATH_BUF ended up with an empty string, and hilarity (at your expense) ensued. Thus, I'm moving this bug over to gadmin-bind.
In gadmin-bind source directory: configuration. c: command = g_strdup_ printf( "chown -R %s:%s %s/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF); printf( "chown -R %s:%s %s/etc/sites/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF); printf( "chown -R %s:%s %s/*", NAMED_USER, NAMED_USER, CHROOT_PATH_BUF);
$ grep -r "chown -R" *src/add_
src/add_domain.c: command = g_strdup_
src/gadmin-bind.c: command = g_strdup_
I highly suspect that, given your comment about no chroot support, that CHROOT_PATH_BUF ended up with an empty string, and hilarity (at your expense) ensued. Thus, I'm moving this bug over to gadmin-bind.