summaryrefslogtreecommitdiffstats
path: root/debian/patches/01_default_perms.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/01_default_perms.diff')
-rw-r--r--debian/patches/01_default_perms.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/01_default_perms.diff b/debian/patches/01_default_perms.diff
new file mode 100644
index 0000000..cea04a4
--- /dev/null
+++ b/debian/patches/01_default_perms.diff
@@ -0,0 +1,11 @@
+--- a/xf86drm.h
++++ b/xf86drm.h
+@@ -74,7 +74,7 @@ extern "C" {
+ /* Default /dev/dri directory permissions 0755 */
+ #define DRM_DEV_DIRMODE \
+ (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
+-#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP)
++#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
+
+ #ifdef __OpenBSD__
+ #define DRM_DIR_NAME "/dev"