Skip to content

Commit

Permalink
#110 fixed driver's structure ownerships
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik committed Mar 18, 2023
1 parent 27507e8 commit c0d505a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,7 @@ cp udev/90-numberpad-external-keyboard.rules /usr/lib/udev/rules.d/
echo "Added 90-numberpad-external-keyboard.rules"
mkdir -p /usr/share/asus_touchpad_numpad-driver/udev

chown -R $RUN_UNDER_USER /usr/share/asus_touchpad_numpad-driver
# 700: only owner can do everything (write, read, execute)
chmod -R 700 /usr/share/asus_touchpad_numpad-driver
chown -R $RUN_UNDER_USER /usr/share/asus_touchpad_numpad-driver/asus_touchpad.py

CONFIG_FILE_DIR="/usr/share/asus_touchpad_numpad-driver/"
cat udev/external_keyboard_is_connected.sh | CONFIG_FILE_DIR="/usr/share/asus_touchpad_numpad-driver/" envsubst '$CONFIG_FILE_DIR' > /usr/share/asus_touchpad_numpad-driver/udev/external_keyboard_is_connected.sh
Expand Down

0 comments on commit c0d505a

Please sign in to comment.