diff --git a/Docker/lofar-documentation/build_documentation.sh b/Docker/lofar-documentation/build_documentation.sh
index 236351983f81bd04846835a6916a146467f34670..001971a603426f6f934909590669ef04366a0d2b 100755
--- a/Docker/lofar-documentation/build_documentation.sh
+++ b/Docker/lofar-documentation/build_documentation.sh
@@ -19,7 +19,7 @@ fi
 # Suggest user to make use of the predefined CMake settings based on the hostname passed to the container
 HOSTNAME=`hostname`
 if [ "lofardocker" != "$HOSTNAME" ]; then
-  echo "In order to use the CMake presets from the variants file 'variants.lofardocker'"
+  echo "In order to use the CMake presets from the variants file 'variants.lofar-documentation'"
   echo "run the docker container with the hostname argument:"
   echo "-h lofardocker"
   echo ""
@@ -44,8 +44,3 @@ cmake -DBUILD_DOCUMENTATION=ON ../..
 echo "Instructing CMake to build the documentation"
 make doc
 
-# Since we're running as root in the Docker container all created stuff ends up belonging to root. Allow others to do
-# whatever they want with it as well.
-echo "Setting permission on the generated content"
-chown -R 777 "$LOFAR_BRANCH_MOUNT_DIR/build"
-