v0.3.3 permission errors #18

Closed
opened 2026-09-17 09:25:30 +00:00 by FiddlerAndy · 3 comments

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?

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?
FiddlerAndy changed title from v0.3.3 user configuration errors to v0.3.3 permission errors 2026-09-17 13:52:57 +00:00
Author

Just 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.

Just 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.
Owner

Crap. Fixed something and broke something else. I will push out a fix immediately.

Crap. Fixed something and broke something else. I will push out a fix immediately.
Owner

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.

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.
drew closed this issue 2026-09-17 17:43:02 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
drew/butterknife#18
No description provided.