Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've set umask 002 in

/etc/login.defs

~/.bashrc

~/.profile

in order to have read and write permissions for user and group.

(the idea is to give the ability for all the users of a same group to share their files)

umask command answers me 0002 but each time I create a new file, it shows read and write permission for user but only read permission for the group.

Where did I go wrong ?

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.