opnsense-ports/sysutils/debhelper/files/patch-dh_fixperms
Franco Fichtner e0316a23f5 */*: sync with upstream
Taken from: FreeBSD
2017-05-07 14:14:24 +02:00

11 lines
443 B
Text

--- dh_fixperms.orig 2017-05-05 19:50:42 UTC
+++ dh_fixperms
@@ -96,7 +96,7 @@ foreach my $package (@{$dh{DOPACKAGES}})
# General permissions fixing.
complex_doit("find $tmp ${find_exclude_options} -print0",
- "2>/dev/null | xargs -0r chown --no-dereference 0:0");
+ "2>/dev/null | xargs -0r chown 0:0");
find_and_reset_perm($tmp, 'go=rX,u+rw,a-s', '! -type l');
# Fix up permissions in usr/share/doc, setting everything to not