v0.3.3 permission errors #18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi Drew
I downloaded the source files .zip to check the overlay /etc/skel fix and also tried the butterknife release iso to eliminate any errors with my tweaked build. Same result. After the grub install completes the screen then fails to show the "Window Manager Set-up" choice with the following "runuser" error messages;
cannot change directory to /home/****: Permission denied
failed to execute /bin/bash: Permission denied
The installed system actually boots OK, but user login fails.
Went back to the 0.3.2 iso to double check and all OK. So suspect this may be down to the latest changes in how permissions are set?
v0.3.3 user configuration errorsto v0.3.3 permission errorsJust tried another install from the 0.3.3 iso this time setting a root password. Can now log in to the installed system as root, but no networking services available and a stack of systemd permission denied errors in the journal.
Crap. Fixed something and broke something else. I will push out a fix immediately.
Thanks Andy. That is a regression from the 0.3.3 permissions fix and it is on me for not catching it before release.
The rootfs tarball has always carried a 700 mode on its top-level entry, because the build script works in a mktemp directory. The old overlay copy happened to reset / to 755 afterwards, so nobody noticed.
0.3.3 replaced that copy to fix issue 17 and the reset went with it, so / stayed 700: root gets in, nobody else can traverse the filesystem, and every non-root service fails. That is where the runuser error, the failed user login, the journal errors and the missing network all come from.
0.3.4 is up now and fixes it in both the tarball build and the installer. Tested here on a real machine: / is 755, user login works, the WM chooser runs, NetworkManager comes up clean. The 0.3.3 ISO has been replaced.
To repair an existing 0.3.3 install, log in as root on the console, or boot the ISO and use Chroot Recovery, and run:
chmod 755 /
Nothing else is needed. Your skel overlay should land as expected on 0.3.4 as well.