Ensures correct permissions on lxd unix.socket (#958)
Ensures correct permissions on lxd unix.socket (#958)

* Ensures correct permissions on lxd unix.socket

Fixes #956

Signed-off-by: Adam Stokes <49c255c1d074742f60d19fdba5e2aa5a34add567@users.noreply.github.com>

* check for both lxd and unix.socket dirs, set perms accordingly

Signed-off-by: Adam Stokes <49c255c1d074742f60d19fdba5e2aa5a34add567@users.noreply.github.com>

* Make sure file mode bits are correct

Signed-off-by: Adam Stokes <49c255c1d074742f60d19fdba5e2aa5a34add567@users.noreply.github.com>

* just set the perms each time

Signed-off-by: Adam Stokes <49c255c1d074742f60d19fdba5e2aa5a34add567@users.noreply.github.com>

conjure-up/conjure-up,Ubuntu-Solutions-Engineering/conjure,ubuntu/conjure-up,conjure-up/conjure-up,Ubuntu-Solutions-Engineering/conjure,ubuntu/conjure-up