resolves #224 set attributes based on safe mode
Merge pull request #278 from mojavelinux/safe-mode-attributes

resolves #224 set attributes based on safe mode