xref: /OK3568_Linux_fs/buildroot/package/openvmtools/0009-Set-permissions-on-rules-file.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From c3ef6a8285132871ad10f9300d8afff55d8d6de2 Mon Sep 17 00:00:00 2001
2From: puneetse <22071208+puneetse@users.noreply.github.com>
3Date: Wed, 16 Oct 2019 10:09:38 -0700
4Subject: [PATCH] Set permissions on rules file
5
6udevs rules should not be executable otherwise udev will log a warning in the journal
7
8Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
9---
10 udev/Makefile.am | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/udev/Makefile.am b/udev/Makefile.am
14index 68fbc3e27..8b9a4d716 100644
15--- a/udev/Makefile.am
16+++ b/udev/Makefile.am
17@@ -17,5 +17,5 @@
18
19 install-data-local:
20 	$(INSTALL) -d $(DESTDIR)$(UDEVRULESDIR)
21-	$(INSTALL) $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)
22+	$(INSTALL) -m 0644 $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)
23
24