Page MenuHomePhabricator

Permissions / ownership interfere with publishing dev-images
Closed, ResolvedPublic

Description

Just running through publishing dev-images with @jeena, discovered that previous updater of /srv/dev-images on contint1002 winds up owning some files in .git with insufficient group-level access to update things.

We should fix this, since we'd like to extend publishing permissions to several folks outside of RelEng.

Details

TitleReferenceAuthorSource BranchDest Branch
fab: build images with user dockerpkg-builderrepos/releng/dev-images!39hasharfab-shared-usermain
Customize query in GitLab

Event Timeline

thcipriani triaged this task as Medium priority.Mar 23 2021, 4:14 PM
thcipriani subscribed.

The way this works on the deployment servers (IIRC) is the /etc/profile assigns a umask of 002 -- maybe that could work here too

thcipriani lowered the priority of this task from Medium to Low.Apr 20 2021, 4:48 PM

Eventually that is addressed by https://gerrit.wikimedia.org/r/c/operations/puppet/+/927975 which switch the repo and deploy script to use a shared system user dockerpkg-builder.

Change 927975 had a related patch set uploaded (by Hashar; author: Hashar):

[operations/puppet@production] contint: build dev-images with a system user

https://gerrit.wikimedia.org/r/927975

Change 927975 merged by Clément Goubert:

[operations/puppet@production] contint: build dev-images with a system user

https://gerrit.wikimedia.org/r/927975