Is there a global .cshrc?
On Sep 23, 2004, at 8:20 AM, Greg Ercolano wrote:
[posted to rush.general]
SOLUTION
1) Edit the file /Library/Preferences/.GlobalPreferences.plist
2) Add the lines:
<key>NSUmask</key>
<integer>2</integer>
I should add there's more specific info here:
http://www.macosxhints.com/article.php?story=20031211073631814
Basically you insert the setting below the first <dict> line
in the .GlobalPreferences.plist file, eg:
--------------------------------------------- snip
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSUmask</key> <--- ADD THIS LINE
<integer>0</integer> <--- ADD THIS LINE
[..]
--------------------------------------------- snip
(Obviously, don't include the '<--- ADD THIS LINE' markers)
In addition to changing the global settings for all users
via the /Library/Preferences/.GlobalPreferences.plist,
you can also change the setting on a per-user basis
by changing the file of the same name in the user's
home directory, specifically:
~<username>/Library/Preferences/.GlobalPreferences.plist
So for instance, to change the user 'fred's file, edit:
/Users/fred/Library/Preferences/.GlobalPreferences.plist
|