Page MenuHomePhabricator

Puppet should set umask 0002 for newly created wikidev users
Closed, ResolvedPublic

Description

All wikidev users should have umask 0002. The default umask is 0022 and Ryan
doesn't want to change it, which I'm fine with as long as we don't leave it to
individual users to remember to set their umask in their profile; puppet should
do this when creating users. Simply running svn up with the wrong umask can put
our SVN checkout in a nasty broken state that blocks svn up for users other
than the person who broke it and root. It can be fixed without root access but
it's not a fun task.

Details

Reference
rt804

Event Timeline

rtimport raised the priority of this task from to Medium.Dec 18 2014, 12:50 AM
rtimport added a project: ops-core.
rtimport set Reference to rt804.

https://gerrit.wikimedia.org/r/#/c/22111/

Status changed from 'new' to 'open' by RT_System

https://gerrit.wikimedia.org/r/#/c/34223/

works now since the umask-line in /etc/profile is gone which overwrote it. this
is just there on lucid. see change above. anyways:
before:
dzahn@fenari:~$ umask
0022
after:
dzahn@fenari:~$ umask
0002

Status changed from 'open' to 'resolved' by dzahn

i added class generic::wikidev-umask on nodes tin and terbium, just as it was
used on fenari when people reported this issue again today when switching over
from fenari.,

Status changed from 'resolved' to 'open' by RT_System

Status changed from 'open' to 'resolved' by dzahn

Dzahn changed the visibility from "WMF-NDA (Project)" to "Public (No Login Required)".
Dzahn changed the edit policy from "WMF-NDA (Project)" to "All Users".