Fix file permissions everywhere
This commit is contained in:
parent
864979095b
commit
f250983570
|
@ -16,4 +16,4 @@ rm -f ${ROOTFS_DIR}/etc/sudoers.d/010_pi-nopasswd
|
|||
install -m 440 files/010_pi-nopasswd ${ROOTFS_DIR}/etc/sudoers.d/
|
||||
|
||||
echo pi - memlock 256000 >> ${ROOTFS_DIR}/etc/security/limits.conf
|
||||
echo pi - rtprio 75 >> ${ROOTFS_DIR}/etc/security/limits.conf
|
||||
echo pi - rtprio 99 >> ${ROOTFS_DIR}/etc/security/limits.conf
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Add i3 config file
|
||||
install -m 755 files/i3.conf ${ROOTFS_DIR}/home/pi/.config/i3
|
||||
mkdir -m 644 ${ROOTFS_DIR}/home/pi/.config/i3/
|
||||
install -m 755 files/i3.conf ${ROOTFS_DIR}/home/pi/.config/i3/config
|
||||
on_chroot << EOF
|
||||
chown -R pi:root /home/pi/.config/
|
||||
chown -R pi:root /home/pi/.config/i3/
|
||||
EOF
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# Do mixxx stuff like copy the udev rules and config file
|
||||
install -m 644 files/mixxx.cfg ${ROOTFS_DIR}/home/pi/.mixxx/mixxx.cfg
|
||||
install -m 440 files/udev.mixxx ${ROOTFS_DIR}/etc/udev/rules.d/69-mixxx-usb-uaccess.rules
|
||||
on_chroot << EOF
|
||||
chown -R pi:root /home/pi/.mixxx
|
||||
EOF
|
||||
|
||||
|
||||
# USB Mount
|
||||
mkdir -m 644 ${ROOTFS_DIR}/etc/systemd/system/systemd-udevd.service.d
|
||||
|
|
Loading…
Reference in New Issue
Block a user