Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am attempting to modify the default umask value under all accounts on my linux system to 002. This will hopefully allow both the account and the account's group access to the created files.

I have modified it within /etc/bashrc, however it seems to be making no difference on this default value. The files I create through "File Browser" all have the access rights set to 600.

Is there any error here, as all evidence I can find on the internet points to the bashrc file.

share|improve this question
up vote 4 down vote accepted

Like its name says, bashrc is for the bash shell. It's not supposed to affect GUI programs.

The correct place for changing default umask appears to be /etc/login.defs.

share|improve this answer
Sorry for the slow reply. It appears that the /etc/login.defs modification is still not affecting my GUI applications. – Michael D Jan 18 '10 at 12:28
Apparently its an issue with GNOME / Nautillus. The umask is being set correctly – Michael D Jan 18 '10 at 17:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.