From 6959468d0c4c2b24c8bf66136a2d83b3fdd06ea1 Mon Sep 17 00:00:00 2001 From: Walter Lapchynski Date: Mon, 29 Apr 2024 21:14:34 +0000 Subject: [PATCH] sync with archive --- debian/changelog | 6 ++++++ kubuntu/oem/calamares-oemprep.sh | 1 + lubuntu/oem/calamares-oemprep.sh | 1 + ubuntuunity/oem/calamares-oemprep.sh | 1 + 4 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 290a1f4..c05f6b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +calamares-settings-ubuntu (1:24.04.39) noble; urgency=medium + + * Fix permissions on /home/oem when doing OEM installations. (LP: #2063403) + + -- Aaron Rainbolt Thu, 25 Apr 2024 00:01:37 -0500 + calamares-settings-ubuntu (1:24.04.38) noble; urgency=high * Do not remove zram-config on Ubuntu Unity, it does not exist in the first diff --git a/kubuntu/oem/calamares-oemprep.sh b/kubuntu/oem/calamares-oemprep.sh index 20e5684..3d44716 100755 --- a/kubuntu/oem/calamares-oemprep.sh +++ b/kubuntu/oem/calamares-oemprep.sh @@ -5,6 +5,7 @@ # Install the OEM configuration for Calamares tar xvzf /etc/calamares/oemconfig.tar.gz -C "$1" --strip-components=2; +chown -R 1000:1000 "$1"/home/oem # Enable passwordless sudo for the OEM user, making sure this can be undone later mv "$1"/etc/sudoers "$1"/etc/sudoers.orig diff --git a/lubuntu/oem/calamares-oemprep.sh b/lubuntu/oem/calamares-oemprep.sh index 20e5684..3d44716 100755 --- a/lubuntu/oem/calamares-oemprep.sh +++ b/lubuntu/oem/calamares-oemprep.sh @@ -5,6 +5,7 @@ # Install the OEM configuration for Calamares tar xvzf /etc/calamares/oemconfig.tar.gz -C "$1" --strip-components=2; +chown -R 1000:1000 "$1"/home/oem # Enable passwordless sudo for the OEM user, making sure this can be undone later mv "$1"/etc/sudoers "$1"/etc/sudoers.orig diff --git a/ubuntuunity/oem/calamares-oemprep.sh b/ubuntuunity/oem/calamares-oemprep.sh index 20e5684..3d44716 100755 --- a/ubuntuunity/oem/calamares-oemprep.sh +++ b/ubuntuunity/oem/calamares-oemprep.sh @@ -5,6 +5,7 @@ # Install the OEM configuration for Calamares tar xvzf /etc/calamares/oemconfig.tar.gz -C "$1" --strip-components=2; +chown -R 1000:1000 "$1"/home/oem # Enable passwordless sudo for the OEM user, making sure this can be undone later mv "$1"/etc/sudoers "$1"/etc/sudoers.orig