Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Really still working?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Really still working?
Authored by: mdwoernhard on Sep 26, '07 06:28:12PM

I have just spent some time trying to implement setting the global umask with NSUmask.

My findings are that NSUmask does not work as described in this article, as per 10.4.10.

I played with /Library/Preferences/.GlobalPreferences.plist, ~/Library/Preferences/.GlobalPreferences.plist, defaults write -g NSUmask -int 2, defaults write Library/Preferences/.GlobalPreferences -int 2, defaults write /Library/Preferences/.GlobalPreferences -int 2 - to no avail.

The only hint working was 10.4: Set umask independently for Finder.app, but this only applies to new items created with Finder, other GUI-applications still use the default umask 022 (tested with several applications).

I shy away from modifying /System -> Library -> Frameworks -> PreferencePanes.framework -> Versions -> A -> Resources -> global.defaults - not sure if I mess up something important.

Did I overlook something? - In short, I am still missing a working solution for having a default umask of 002 for files/folders created with a GUI ...

/Maurice



[ Reply to This | # ]