Description of problem: When USER_MASK is set, it is not applied to the login shell I detailled my understanding of the problem in the Mageia french forum : http://www.mageialinux-online.org/forum/topic-16419+definir-un-umask-pour-tous-les-utilisateurs.php In /etc/bashrc lines 46-50 : if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then umask 002 else umask 022 fi # are we an interactive shell? if [ "$PS1" ]; then The umask is set to 002 and as $PS1 is not set, the 01msec.sh (from /etc/profile.d/) that contains the msec settings is not executed. The choice of not executing /etc/profile.d/* (and therefore 01msec.sh) in a login shell is not clear. Version-Release number of selected component (if applicable): How reproducible: Allways Steps to Reproduce: 1. open msec->security settings->system security 2. set USER_MASK to a value different to 002 (e.g. 077) 3. close the session and reopen a session 4. in Dolphin, create a new file : the permissions are -rw-rw-r-- 5. open Konsole and create a new file : the permissions are -rw------- Reproducible: Steps to Reproduce:
Component: Security => RPM PackagesHardware: x86_64 => AllQA Contact: security => (none)
Source RPM: (none) => msec
Mageia 3 changed to end-of-life (EOL) status 4 months ago. http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Mageia please feel free to click on "Version" change it against that version of Mageia and reopen this bug. Thank you for reporting this bug and we are sorry it could not be fixed. -- The Mageia Bugsquad
Status: NEW => RESOLVEDResolution: (none) => OLD