Code

adjust_shared_perm: chmod() only when needed.