blob: 54ecce57e3018bd91e8efa921c8eb0cbe588bcdf [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001syslog-ng: fix wrong ownership issue
2
3Upstream-Status: Pending
4
5The ownership of build user is preserved for some target files, fixed it by
6adding --no-same-owner option to tar when extracting files.
7
8Signed-off-by: Ming Liu <ming.liu@windriver.com>
9---
10 scl/Makefile.am | 2 +-
11 1 files changed, 1 insertions(+), 1 deletions(-)
12
Brad Bishop316dfdd2018-06-25 12:45:53 -040013Index: syslog-ng-3.8.1/scl/Makefile.am
14===================================================================
15--- syslog-ng-3.8.1.orig/scl/Makefile.am
16+++ syslog-ng-3.8.1/scl/Makefile.am
17@@ -27,7 +27,7 @@ scl-install-data-local:
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018 fi; \
19 done
20 $(mkinstalldirs) $(DESTDIR)/$(scldir)
21- (cd $(srcdir)/scl; tar cf - $(SCL_SUBDIRS)) | (cd $(DESTDIR)/$(scldir) && tar xf -)
22+ (cd $(srcdir)/scl; tar cf - $(SCL_SUBDIRS)) | (cd $(DESTDIR)/$(scldir) && tar xf - --no-same-owner)
23 chmod -R u+rwX $(DESTDIR)/$(scldir)
24
25 scl-uninstall-local: