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.