[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Subject: UMASK 002 or 022?



My thinking in advocating for OTHER being 7 (ie, 027 or 077) was that the incidents when someone wants OTHER to have access to their files are fewer than when they do not want OTHER to have access. Do users generally want OTHER to be able to read all their files? Or do they have a particular set of files that they want OTHER to be able to access/read? In this context it makes more sense to me to put the burden on adjusting those specific files that the user wants OTHER to have access to instead of having them that way by default. Having to adjust those specific files also reinforces to the user what they are doing (ie, they are giving the world access to those particular files).



On 2017-06-28 07:25, Ian Jackson wrote:
Paul Wise writes ("Re: Subject: UMASK 002 or 022?"):
On Wed, Jun 28, 2017 at 1:11 AM,  gwmfms6 wrote:
> This discussion should be on whether to set a default UMASK of 077 or 027.

I think the appropriate default umask is 077 due to the possibility of
some sites not naming the primary group of each user after the user.

The appropriate default umask is 002 if the user's primary group is
named after the user, or 022 otherwise.

If only we had some kind of automated information processing equipment
which could collect necessary inputs and then make correct decisions.

Ian.


Reply to: