Last modified: 2014-05-27 20:30:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65028, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63028 - Inconsistent GID number (500 or 550)
Inconsistent GID number (500 or 550)
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 63803
  Show dependency treegraph
 
Reported: 2014-03-24 20:31 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-05-27 20:30 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-03-24 20:31:48 UTC
Accounts imported from the old svn credentials received the GID 550 which is the 'svn' group.

Users created via wikitech are assigned GID 500 which is 'wikidev'.


$ ldaplist -l passwd |grep gidNumber|sort|uniq -c|sort -n|tail -n2
  447     gidNumber: 550
 2615     gidNumber: 500
$

That makes sharing file between accounts a bit cumbersome :-]



We should update all the old accounts to use GID 500 (wikidev).
Comment 1 John Mark Vandenberg 2014-05-08 06:01:36 UTC
As noted on bug 64596, this is probably what is blocking me submitting patches.
Comment 2 Bryan Davis 2014-05-21 19:38:37 UTC
From related discussion on https://bugzilla.wikimedia.org/show_bug.cgi?id=65548#c3

> I think the best fix for this would be to update all users that have
> 550(svn) as their primary group to have 500(wikidev) as their primary group.
> 
> Following that one of two things should happen, either all files owned by
> group 550(svn) should be changed to 500(wikidev) across all of labs, or
> probably more rationally all users in the 500(wikidev) group should be added
> to the 550(svn) as a secondary group. If the later action is taken the
> script that creates new users in ldap should also be updated to add all
> future users to the 550(svn) group as a secondary group.
Comment 3 Andrew Bogott 2014-05-27 19:46:18 UTC
OK, done:

1)  Everyone with a primary group of 550 now has a primary group of 500 instead
2)  Everyone who used to have a primary group of 550 is now an explicit member of the 'svn' group, 550.

#2 should ensure that everyone can still read their files.  I'm braced for labs users to inform me otherwise...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links