Make a shared directory 1777 instead of 777. Respect ${PREFIX}. Submitted by: Alex Perel <veers@disturbed.net>