diff options
| author | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-09 14:23:05 +0200 |
|---|---|---|
| committer | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-09 14:23:05 +0200 |
| commit | 25af5fa7814cd4c1d8bf31e0d50cebfb6c29a4ba (patch) | |
| tree | 5d890f0455c9cde23771c442c8d83747ac79e19a /raveos-plasma-theme/raveos-plasma-apply.sh | |
| parent | e1de1a131d593bfee193abc64f1e8e7de8f7ac1c (diff) | |
| download | RaveOS-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-plasma-theme/raveos-plasma-apply.sh')
| -rwxr-xr-x | raveos-plasma-theme/raveos-plasma-apply.sh | 8 |
1 files changed, 2 insertions, 6 deletions
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 |