[paste-web/oscp] Terminate file name with a null char instead of a whitespace



commit b99f07a5b18ece33f3f118a98f44a2e08394e2a9
Author: Andrea Veri <averi redhat com>
Date:   Tue Oct 23 15:35:26 2018 +0200

    Terminate file name with a null char instead of a whitespace

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 8b09741..cee5ab5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,8 +35,8 @@ RUN patch -p0 < /tmp/patches/update_app_config_php7.patch
 RUN patch -p0 < /tmp/patches/gnome_ldap_customizations.patch
 
 RUN chown -R 1001:root /var/www/html && \
-    find /var/www/html -type d | xargs chmod 775 && \
-    find /var/www/html -type f | xargs chmod 664 && \
+    find /var/www/html -type d -print0 | xargs -0 chmod 775 && \
+    find /var/www/html -type f -print0 | xargs -0 chmod 664 && \
     chmod 660 ${PASTE_HOME}/app/config/database.php && \
     chmod 755 /var/log/httpd24 && \ 
     chown -R 1001:root /var/log/httpd24 && \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]