summaryrefslogtreecommitdiff
path: root/raveos-cosmic-theme
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 /raveos-cosmic-theme
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
Diffstat (limited to 'raveos-cosmic-theme')
-rw-r--r--raveos-cosmic-theme/PKGBUILD2
-rwxr-xr-xraveos-cosmic-theme/raveos-cosmic-apply.sh8
2 files changed, 5 insertions, 5 deletions
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."