Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

default umask rationale

From: William Ahern <william(at)25thandClement.com>
Date: Mon Jun 30 2003 - 15:53:34 EDT


aside from the principle of least privilege, what other reasons are there for having a default umask of 022 in the default login class?

on many linux distribution, it is 022 because the default group is `users'. however, on openbsd the default behavior is for users to get their own private group.

and so given the purpose of groups in general, that is to share work under certain directories, and given the bsd behavior of group inheritance in the filesystem, wouldn't it make more sense, or at least wouldn't it be an easy patch, to have a umask of 002?

i have many users who share web development work, and use things like scp to copy files. however, changing their umask upon transfers it a little cumbersome and error prone if even feasible, and causes all sorts of headaches. and so i'm deliberating whether to change the default umask to 002. am i missing some other issues that might arise?

/home: no issues
/tmp: no issues
/var/mail: no issues

i can't think of any other problem areas, nor could i find similar threads elsewhere for reference.

tia,

Bill Received on Mon Jun 30 16:10:22 2003

Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library