:: Re: [DNG] useradd defaults
トップ ページ
このメッセージを削除
このメッセージに返信
著者: KatolaZ
日付:  
To: Boruch Baum
CC: dng
題目: Re: [DNG] useradd defaults
On Mon, Apr 04, 2016 at 06:58:39AM +0000, Boruch Baum wrote:

[cut]

>
> I'm getting a bit uncomfortable about starting this thread, because upon
> reflection, it seems that one consequence of setting the system-wide may
> be that the 027 umask will end up having some system account creating a
> file that should be world-readable or world-executable, but because of
> the umask, it now would not be, and so would break stuff. My intent was
> to protect data of one user from other users, which could be done by
> making the change in .profile or even in the default .bashrc.
>


I was actually waiting for somebody to realise this before answering
your email. In a "Universal OS" there is much more than the
preferences of single specific users, or specific applications, or
specific environments. There is the necessity to accommodate a huge
number of different scenarios and use cases. In short, that's why you
have the umask set by default to 022. Any user can change this
behaviour to a more restrictive one, if they need so.

My2Cents

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]