Bug 8462: Directories are created with overly permissive settings.
Sol: the /shared directory mode permission was changed to 770 and the files got 660 mode now.
Merge pull request #1709 from ralpheav/master

Bug 8462: Directories are created with overly permissive settings