Re: where is the file for setting new file permissions?

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

 



linuxmaillists@xxxxxxxxxxx wrote:
> I want to change the automatic file permissions that are 
> created on new files.  Where is the file that lets me do 
> that?  A lot of googling got my a lot of information but 
> none of it answered my question.
> 
> I want to have all new files set to 644 = rw-r--r--

You want to set umask to 0022.  You can set this in ~/.bashrc like so:

umask 0022

It is set to 0002 in /etc/bashrc for normal users.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The power of accurate observation is frequently called cynicism by
those who don't have it.
    -- George Bernard Shaw

Attachment: pgpWdJk58SMgn.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux