From 25af5fa7814cd4c1d8bf31e0d50cebfb6c29a4ba Mon Sep 17 00:00:00 2001 From: Nippy Date: Wed, 9 Sep 2026 14:23:05 +0200 Subject: fix(permissions): ensure user home, .config, and .local are recursively owned by user to prevent kwallet/udisks freeze --- raveos-cosmic-theme/PKGBUILD | 2 +- raveos-cosmic-theme/raveos-cosmic-apply.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'raveos-cosmic-theme') 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." -- cgit v1.3