Set correct permissions on share dir