Fix permissions some more...

This commit is contained in:
Fayaaz 2020-07-28 03:41:59 +01:00
parent 8083b53f12
commit 10380727e9
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# Add i3 config file
mkdir -p -m 644 ${ROOTFS_DIR}/home/pi/.config/i3/
mkdir -p -m 755 ${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/i3/
chmod -R 755 /home/pi/.config/
EOF

View File

@ -1,11 +1,13 @@
# Do mixxx stuff like copy the udev rules and config file
mkdir -p -m 644 ${ROOTFS_DIR}/home/pi/.mixxx
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
mkdir -p -m 755 ${ROOTFS_DIR}/home/pi/.mixxx
install -m 755 files/mixxx.cfg ${ROOTFS_DIR}/home/pi/.mixxx/mixxx.cfg
on_chroot << EOF
chown -R pi:root /home/pi/.mixxx
chmod -R 755 /home/pi/.mixxx/
EOF
install -m 644 files/udev.mixxx ${ROOTFS_DIR}/etc/udev/rules.d/69-mixxx-usb-uaccess.rules
# USB Mount
mkdir -m 644 ${ROOTFS_DIR}/etc/systemd/system/systemd-udevd.service.d