fix: chmod für neue Config-Dateien nach deren COPY verschieben
This commit is contained in:
1 parent
4a8cfae6d6
commit
50b7939900
1 file changed
+8
-4
+8
-4
@@ -132,10 +132,7 @@ RUN chmod 0755 \
|
||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.timer.d/override.conf \
|
||||
/usr/lib/systemd/system/bootc-fetch-apply-updates.service.d/override.conf \
|
||||
/usr/lib/systemd/system/systemd-remount-fs.service.d/skip-on-ostree.conf \
|
||||
/usr/lib/systemd/system/boltd.service.d/log-level.conf \
|
||||
/usr/lib/sysctl.d/99-fluffy-pancake.conf \
|
||||
/usr/lib/NetworkManager/conf.d/99-wifi-powersave.conf \
|
||||
/usr/share/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf
|
||||
/usr/lib/systemd/system/boltd.service.d/log-level.conf
|
||||
|
||||
# 2b. Kernel-Args (Bootsplash + ABM-Default, Details in der Datei)
|
||||
COPY --chmod=0644 configs/kargs.toml /usr/lib/bootc/kargs.d/kargs.toml
|
||||
@@ -149,6 +146,13 @@ COPY --chmod=0644 configs/NetworkManager/conf.d/99-wifi-powersave.conf /usr/lib/
|
||||
# WirePlumber: Audio-Idle-Suspend 30 s statt 5 s
|
||||
COPY --chmod=0644 configs/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf /usr/share/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf
|
||||
|
||||
# Sicherstellen, dass die neu kopierten *.conf nicht world-writable sind
|
||||
# (systemd/wireplumber warnen sonst und ignorieren Werte).
|
||||
RUN chmod 0644 \
|
||||
/usr/lib/sysctl.d/99-fluffy-pancake.conf \
|
||||
/usr/lib/NetworkManager/conf.d/99-wifi-powersave.conf \
|
||||
/usr/share/wireplumber/wireplumber.conf.d/99-suspend-timeout.conf
|
||||
|
||||
# 3. Kopiere die Session-Helfer und Desktop-Defaults
|
||||
COPY --chmod=755 scripts/notify-bootc-user.sh /usr/bin/
|
||||
COPY --chmod=755 scripts/kanshi-autoconfig /usr/bin/kanshi-autoconfig
|
||||
|
||||
Reference in new issue
Block a user