diff options
Diffstat (limited to 'main/drbd-utils/drbdsetup-permissions.patch')
-rw-r--r-- | main/drbd-utils/drbdsetup-permissions.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/drbd-utils/drbdsetup-permissions.patch b/main/drbd-utils/drbdsetup-permissions.patch new file mode 100644 index 0000000000..ca0a3642ac --- /dev/null +++ b/main/drbd-utils/drbdsetup-permissions.patch @@ -0,0 +1,21 @@ +--- ./user/v9/Makefile.in.orig ++++ ./user/v9/Makefile.in +@@ -109,15 +109,9 @@ + install -d $(DESTDIR)$(sbindir) + install -d $(DESTDIR)$(localstatedir)/lib/drbd + install -d $(DESTDIR)$(localstatedir)/lock +- if getent group haclient > /dev/null 2> /dev/null ; then \ +- install -g haclient -m 4750 drbdsetup $(DESTDIR)$(sbindir) ; \ +- install -g haclient -m 4750 drbdmeta $(DESTDIR)$(sbindir) ; \ +- install -m 755 drbdadm $(DESTDIR)$(sbindir) ; \ +- else \ +- install -m 755 drbdsetup $(DESTDIR)$(sbindir) ; \ +- install -m 755 drbdmeta $(DESTDIR)$(sbindir) ; \ +- install -m 755 drbdadm $(DESTDIR)$(sbindir) ; \ +- fi ++ install -m 755 drbdsetup $(DESTDIR)$(sbindir) ; \ ++ install -m 755 drbdmeta $(DESTDIR)$(sbindir) ; \ ++ install -m 755 drbdadm $(DESTDIR)$(sbindir) ; \ + if test -d $(DESTDIR)/sbin && \ + ! test $(DESTDIR)/sbin -ef $(DESTDIR)$(sbindir) ; then \ + ln -sf $(sbindir)/drbdsetup $(DESTDIR)/sbin ; \ |