diff --git a/pephooks/normal/0610-set-permissions.hook.chroot b/pephooks/normal/0610-set-permissions.hook.chroot index c3fbbb792..30653d69b 100755 --- a/pephooks/normal/0610-set-permissions.hook.chroot +++ b/pephooks/normal/0610-set-permissions.hook.chroot @@ -29,30 +29,30 @@ chmod 777 /usr/share/backgrounds #chmod 0755 /usr/bin/pkexec # Their patch didn't work "pkexec must be setuid root" # Fix file permissions -chmod 644 -R /usr/share/fonts/pepconf -chmod 644 -R /usr/share/applications/gdebi.desktop -chmod 644 -R /usr/share/applications/Install-peppermint.desktop -chmod 644 -R /usr/share/applications/org.kde.kded5.desktop -chmod 644 -R /usr/share/applications/Pephub.desktop -chmod 644 -R /usr/share/applications/Welcome.desktop -chmod 644 -R /usr/share/pixmaps/* -chmod 644 -R /etc/calamares/branding/peppermint -chmod 644 -R /opt/* +chmod 755 -R /usr/share/fonts/pepconf +chmod 755 -R /usr/share/applications/gdebi.desktop +chmod 755 -R /usr/share/applications/Install-peppermint.desktop +chmod 755 -R /usr/share/applications/org.kde.kded5.desktop +chmod 755 -R /usr/share/applications/Pephub.desktop +chmod 755 -R /usr/share/applications/Welcome.desktop +chmod 755 -R /usr/share/pixmaps/* +chmod 755 -R /etc/calamares/branding/peppermint +chmod 755 -R /opt/* chmod 777 -R /opt/pypep/dbpep -chmod 644 -R /usr/local/lib/python3.11/dist-packages/* -chmod 644 -R /etc/skel/* -chmod 644 -R /etc/skel/.local -chmod 644 -R /etc/skel/.config -chmod 644 /usr/share/peppermint -chmod 644 /usr/sbin/bootloader-config -chmod 644 /usr/sbin/sources-final -chmod 644 /usr/bin/install-peppermint -chmod 644 /usr/share/polkit-1/actions/org.freedesktop.pepkumo.policy -chmod 644 /usr/share/polkit-1/actions/org.freedesktop.peppackages.policy -chmod 644 /usr/share/polkit-1/actions/org.freedesktop.pepu.policy -chmod 644 /usr/share/polkit-1/actions/org.freedesktop.python3.policy -chmod 644 /usr/share/polkit-1/actions/org.freedesktop.ttkcreator.policy -chmod 644 /etc/skel/.bash_aliases +chmod 755 -R /usr/local/lib/python3.11/dist-packages/* +chmod 755 -R /etc/skel/* +chmod 755 -R /etc/skel/.local +chmod 755 -R /etc/skel/.config +chmod 755 /usr/share/peppermint +chmod 755 /usr/sbin/bootloader-config +chmod 755 /usr/sbin/sources-final +chmod 755 /usr/bin/install-peppermint +chmod 755 /usr/share/polkit-1/actions/org.freedesktop.pepkumo.policy +chmod 755 /usr/share/polkit-1/actions/org.freedesktop.peppackages.policy +chmod 755 /usr/share/polkit-1/actions/org.freedesktop.pepu.policy +chmod 755 /usr/share/polkit-1/actions/org.freedesktop.python3.policy +chmod 755 /usr/share/polkit-1/actions/org.freedesktop.ttkcreator.policy +chmod 755 /etc/skel/.bash_aliases