From bb8688a9082b9e7620f6a5362d2ece6ad5a02229 Mon Sep 17 00:00:00 2001 From: Alex Rawson Date: Fri, 7 Feb 2025 01:02:32 -0600 Subject: [PATCH] fix the order of the udev rules The current udev rule name will not actually apply the uaccess tag in time for it to have the intended effect of setting the permissions to allow the local seated user to access the device. To do this, the rule must have a prefix <73 due to "73-seat-late.rules" being the rule that actually uses the tag to set the appropriate permissions. This change moves the rule to a position where it will function as originally intended. --- README.md | 2 +- bazel/README.md | 2 +- udev/{99-picotool.rules => 69-picotool.rules} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename udev/{99-picotool.rules => 69-picotool.rules} (100%) diff --git a/README.md b/README.md index 625259fe..a70c0ddc 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ make On Linux you can add udev rules in order to run picotool without sudo: ```console -sudo cp udev/99-picotool.rules /etc/udev/rules.d/ +sudo cp udev/69-picotool.rules /etc/udev/rules.d/ ``` ### Windows diff --git a/bazel/README.md b/bazel/README.md index a1ad0f5c..8b667144 100644 --- a/bazel/README.md +++ b/bazel/README.md @@ -17,7 +17,7 @@ sudo apt install build-essential libudev-dev On Linux you can add udev rules in order to run picotool without sudo: ```console -sudo cp udev/99-picotool.rules /etc/udev/rules.d/ +sudo cp udev/69-picotool.rules /etc/udev/rules.d/ ``` ### macOS diff --git a/udev/99-picotool.rules b/udev/69-picotool.rules similarity index 100% rename from udev/99-picotool.rules rename to udev/69-picotool.rules