]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_fixperms
r322: * dh_fixperms: chown symlinks as well as normal files. Closes: #51169.
[debhelper.git] / dh_fixperms
index 0ad5c6050efef297c19b2191095a037e3021041a..98201e94423cc1ac22d36483fe2a47c23a7d141c 100755 (executable)
@@ -17,8 +17,8 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
        }
 
        # General permissions fixing.
-       complex_doit("find $TMP ! -type l $find_options -print0",
-               "2>/dev/null | xargs -0r chown root.root");
+       complex_doit("find $TMP $find_options -print0",
+               "2>/dev/null | xargs -0r chown --no-dereference root.root");
        complex_doit("find $TMP ! -type l $find_options -print0",
                "2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s");