/root being created with group and world rx permissions (0755)
At least with the 3.16.2 x86_64 virtual image (https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86_64/alpine-virt-3.16.2-x86_64.iso), The root user's home directory (/root) is (at least after using setup-alpine
) being created with normal file permissions instead of restrictive.
That is 0755 (drwxr-x-rx
) instead of 0700 (drwx------
).
This was unexpected. (And not a fluke, three different VMs have done the same thing).
I don't know where the error is, that's why I'm submitting the report here instead of against a specific aports or alpine-conf or mkinit or other package.
I've marked it confidential since I consider it a security issue.