My guess is that juju is setting umask somewhere? The mode passed to mkdir(2) is &'d with the task's umask. The code in lxc definately passes 0755 as the mode. We could patch lxc to do an explicit chmod after the fact, but that seems like the wrong thing to do. The umask - ideally - was set as it was for a reason.
My guess is that juju is setting umask somewhere? The mode passed to mkdir(2) is &'d with the task's umask. The code in lxc definately passes 0755 as the mode. We could patch lxc to do an explicit chmod after the fact, but that seems like the wrong thing to do. The umask - ideally - was set as it was for a reason.