Updated macosx chmod part