Skip to contentSkip to conversation

package/openvmtools: non-executable udev rules

PATCH New Pascal de Bruijn 2 participants 2 messages Nov 29, 2019 – Dec 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/openvmtools: non-executable udev rules

Fixes /usr/lib/udev/rules.d/99-vmware-scsi-udev.rules is marked executable.

Source: https://github.com/vmware/open-vm-tools/pull/376

---
 .../0009-Set-permissions-on-rules-file.patch       | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 package/openvmtools/0009-Set-permissions-on-rules-file.patch
package/openvmtools/0009-Set-permissions-on-rules-file.patch new file +23 -0
new file mode 100644
index 0000000..6a37c16
@@ -0,0 +1,23 @@
+From c3ef6a8285132871ad10f9300d8afff55d8d6de2 Mon Sep 17 00:00:00 2001
+From: puneetse <[email protected]>
+Date: Wed, 16 Oct 2019 10:09:38 -0700
+Subject: [PATCH] Set permissions on rules file
+
+udevs rules should not be executable otherwise udev will log a warning in the journal
+
+Signed-off-by: Pascal de Bruijn <[email protected]>
+---
+ udev/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/udev/Makefile.am b/udev/Makefile.am
+index 68fbc3e27..8b9a4d716 100644
+--- a/udev/Makefile.am
++++ b/udev/Makefile.am
+@@ -17,5 +17,5 @@
+ 
+ install-data-local:
+ 	$(INSTALL) -d $(DESTDIR)$(UDEVRULESDIR)
+-	$(INSTALL) $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)
++	$(INSTALL) -m 0644 $(srcdir)/99-vmware-scsi-udev.rules $(DESTDIR)$(UDEVRULESDIR)
+ 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 package/openvmtools: non-executable udev rules

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Pascal" == Pascal de Bruijn <[email protected]> writes:

Fixes: /usr/lib/udev/rules.d/99-vmware-scsi-udev.rules is marked executable.
Source: https://github.com/vmware/open-vm-tools/pull/376

Committed after extending the commit message, thanks.

Signature · 1 line
Bye, Peter Korsgaard