1 |
> What with usergroups being the default behavior, do you think it's |
2 |
> quite reasonable to use 002 as a default umask? Most group-sharing |
3 |
> use-cases I've encountered have people that are sharing groups share |
4 |
> files as read-write anyways, and by default, users have their own |
5 |
> private group which nobody else is a member of; i.e. g+rw still won't |
6 |
> allow others to write them. |
7 |
|
8 |
That was the idea, RH did it that way a dozen |
9 |
years ago for exactly the reason you mention: |
10 |
dir mods of 02770 make it easy to share files |
11 |
but require 002 umask. Fix was to set the |
12 |
per-user group, allowing private dir's (largely |
13 |
$HOME) to have tighter mods with files below |
14 |
them "group readable" by a single-user group. |
15 |
|
16 |
The scheme works rather nicely in nearly |
17 |
every situation (POSIX ACL's play hell with |
18 |
the scheme, but, then, they are supposed to). |
19 |
|
20 |
enjoi |
21 |
|
22 |
-- |
23 |
Steven Lembark 85-09 90th St. |
24 |
Workhorse Computing Woodhaven, NY, 11421 |
25 |
lembark@×××××××.com +1 888 359 3508 |