LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to set umask to 0000 for a specail user? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-umask-to-0000-for-a-specail-user-784756/)

jcky 01-25-2010 11:09 PM

how to set umask to 0000 for a specail user?
 
Please see below:
vim ~/.bashrc
umask=0000(bottom line)
source ~/.bashrc

But when I relogin, default umask was still 0022.

How could I do ?

Elemecca 01-26-2010 12:43 AM

'umask=0000' sets an environment variable called 'umask' to '0000'. It does not set your umask. To do that, you need to call the 'umask' command with '0000' as a parameter'. Thus, 'umask 0000'.


All times are GMT -5. The time now is 04:01 AM.