summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNippy <nippy@Beller-Mac-mini.lan>2026-09-09 14:23:05 +0200
committerNippy <nippy@Beller-Mac-mini.lan>2026-09-09 14:23:05 +0200
commit25af5fa7814cd4c1d8bf31e0d50cebfb6c29a4ba (patch)
tree5d890f0455c9cde23771c442c8d83747ac79e19a
parente1de1a131d593bfee193abc64f1e8e7de8f7ac1c (diff)
downloadRaveOS-PKGBUILD-25af5fa7814cd4c1d8bf31e0d50cebfb6c29a4ba.tar.gz
RaveOS-PKGBUILD-25af5fa7814cd4c1d8bf31e0d50cebfb6c29a4ba.zip
fix(permissions): ensure user home, .config, and .local are recursively owned by user to prevent kwallet/udisks freeze
-rw-r--r--raveos-calamares-theme/PKGBUILD2
-rwxr-xr-xraveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh2
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf1
-rw-r--r--raveos-cosmic-theme/PKGBUILD2
-rwxr-xr-xraveos-cosmic-theme/raveos-cosmic-apply.sh8
-rw-r--r--raveos-gnome-theme/PKGBUILD2
-rwxr-xr-xraveos-gnome-theme/raveos-gnome-apply.sh7
-rw-r--r--raveos-plasma-theme/PKGBUILD2
-rwxr-xr-xraveos-plasma-theme/raveos-plasma-apply.sh8
9 files changed, 14 insertions, 20 deletions
diff --git a/raveos-calamares-theme/PKGBUILD b/raveos-calamares-theme/PKGBUILD
index a205716..856eedf 100644
--- a/raveos-calamares-theme/PKGBUILD
+++ b/raveos-calamares-theme/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: nippy <nippy@tuta.io>
pkgname=raveos-calamares-theme
pkgver=2.0.0
-pkgrel=51
+pkgrel=52
pkgdesc="RaveOS Calamares Theme"
arch=('any')
url="https://git.rp1.hu/RaveOS"
diff --git a/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh b/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh
index 4e82a36..1ca2fba 100755
--- a/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh
+++ b/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh
@@ -19,6 +19,6 @@ UID_GID=$(echo "$USERLINE" | cut -d: -f3,4)
DEST="/home/$USERNAME/.config/BraveSoftware"
mkdir -p "$ROOT$DEST"
cp -a "$SRC" "$ROOT$DEST/Brave-Origin"
-chown -R "$UID_GID" "$ROOT$DEST/Brave-Origin"
+chown -R "$UID_GID" "$ROOT$DEST"
echo "raveos-copy-brave-profile: $DEST/Brave-Origin kész"
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf
index d37b8c3..c1892aa 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf
@@ -23,6 +23,7 @@ script:
- "if [ -x ${ROOT}/usr/lib/raveos-cosmic-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-cosmic-theme/auto-apply.sh; fi"
- "if [ -x ${ROOT}/usr/lib/raveos-plasma-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-plasma-theme/auto-apply.sh; fi"
- "if [ -x ${ROOT}/usr/lib/raveos-hyprland-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-hyprland-theme/auto-apply.sh; fi"
+ - "arch-chroot ${ROOT} /bin/bash -c 'for u in $(awk -F: \"\\$3>=1000 && \\$3<60000 {print \\$1}\" /etc/passwd); do chown -R \"$u:$u\" \"/home/$u\" 2>/dev/null || true; done'"
- "arch-chroot ${ROOT} /bin/bash -c 'pacman -Qi plasma-bigscreen &>/dev/null && pacman -Rcns --noconfirm plasma-bigscreen || true'"
- "arch-chroot ${ROOT} sed -i '/^HOOKS=/ s/udev /udev plymouth /' /etc/mkinitcpio.conf"
- "arch-chroot ${ROOT} mkinitcpio -P"
diff --git a/raveos-cosmic-theme/PKGBUILD b/raveos-cosmic-theme/PKGBUILD
index 877e9a5..d4972b3 100644
--- a/raveos-cosmic-theme/PKGBUILD
+++ b/raveos-cosmic-theme/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-cosmic-theme
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="RaveOS Cosmic theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-cosmic-theme/raveos-cosmic-apply.sh b/raveos-cosmic-theme/raveos-cosmic-apply.sh
index 3cedb60..adf5e83 100755
--- a/raveos-cosmic-theme/raveos-cosmic-apply.sh
+++ b/raveos-cosmic-theme/raveos-cosmic-apply.sh
@@ -124,10 +124,10 @@ while IFS=: read -r user _ uid gid _ home shell; do
ensure_bashrc_hook "${home}/.bashrc"
touch "$user_marker"
- for dir in "${home}/.config/kitty" "${home}/.config/fastfetch" "${home}/.config/cosmic" "${home}/.config/raveos-cosmic-theme"; do
- [[ -d "$dir" ]] && chown -R "${uid}:${gid}" "$dir" 2>/dev/null || true
- done
- [[ -f "${home}/.bashrc" ]] && chown "${uid}:${gid}" "${home}/.bashrc" 2>/dev/null || true
+ chown -R "${uid}:${gid}" \
+ "${home}/.config" \
+ "${home}/.local" \
+ "${home}/.bashrc" 2>/dev/null || true
done < /etc/passwd
echo "COSMIC tema telepites kesz."
diff --git a/raveos-gnome-theme/PKGBUILD b/raveos-gnome-theme/PKGBUILD
index 13c3bbd..dd69b66 100644
--- a/raveos-gnome-theme/PKGBUILD
+++ b/raveos-gnome-theme/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-gnome-theme
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="RaveOS GNOME theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-gnome-theme/raveos-gnome-apply.sh b/raveos-gnome-theme/raveos-gnome-apply.sh
index 31b3896..7b8c1f1 100755
--- a/raveos-gnome-theme/raveos-gnome-apply.sh
+++ b/raveos-gnome-theme/raveos-gnome-apply.sh
@@ -112,12 +112,9 @@ while IFS=: read -r user _ uid gid _ home shell; do
ensure_bashrc_hook "${home}/.bashrc"
echo "1" > "${home}/.config/raveos/gnome-migrated"
- chown "${uid}:${gid}" "${home}/.config" "${home}/.config/mimeapps.list" 2>/dev/null || true
chown -R "${uid}:${gid}" \
- "${home}/.config/kitty" \
- "${home}/.config/fastfetch" \
- "${home}/.config/burn-my-windows" \
- "${home}/.config/raveos" \
+ "${home}/.config" \
+ "${home}/.local" \
"${home}/.bashrc" 2>/dev/null || true
done < /etc/passwd
diff --git a/raveos-plasma-theme/PKGBUILD b/raveos-plasma-theme/PKGBUILD
index 4b8a0e9..1e3a8f9 100644
--- a/raveos-plasma-theme/PKGBUILD
+++ b/raveos-plasma-theme/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=raveos-plasma-theme
pkgver=1.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="RaveOS Plasma theme payload and installer"
arch=('any')
url="https://raveos.local"
diff --git a/raveos-plasma-theme/raveos-plasma-apply.sh b/raveos-plasma-theme/raveos-plasma-apply.sh
index cf1ce9c..07ccbcd 100755
--- a/raveos-plasma-theme/raveos-plasma-apply.sh
+++ b/raveos-plasma-theme/raveos-plasma-apply.sh
@@ -175,13 +175,9 @@ while IFS=: read -r user _ uid gid _ home shell; do
ensure_bashrc_hook "${home}/.bashrc"
echo "1" > "${home}/.config/raveos/plasma-migrated"
- chown "${uid}:${gid}" "${home}/.config" "${home}/.local" 2>/dev/null || true
chown -R "${uid}:${gid}" \
- "${home}/.config/kitty" \
- "${home}/.config/fastfetch" \
- "${home}/.config/autostart" \
- "${home}/.config/raveos" \
- "${home}/.local/share/konsole" \
+ "${home}/.config" \
+ "${home}/.local" \
"${home}/.bashrc" 2>/dev/null || true
done < /etc/passwd