https://bugzilla.wikimedia.org/show_bug.cgi?id=61397

            Bug ID: 61397
           Summary: allow `sudo -u vagrant <command>` on labs-vagrant
           Product: MediaWiki-Vagrant
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: o...@wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: bda...@wikimedia.org, o...@wikimedia.org,
                    yuvipa...@gmail.com
       Web browser: ---
   Mobile Platform: ---

I set up a labs instance with labs-vagrant in November 2013. Everything in
/mnt/vagrant on ee-flow-extra.pmtpa.wmflabs is owner:group vagrant:www-data ,
mode 755 or 644.

This matches MW-vagrant, but since there's no `vagrant ssh` for labs, when I
ssh in I don't have the right permissions. In order to do git checkouts or
modify /vagrant/settings.d files I have to `sudo su vagrant; bash`. I added
this to https://wikitech.wikimedia.org/wiki/Labs-vagrant , but it would be
cleaner if I could execute `sudo -u vagrant <some command>` rather than
changing users (or executing `sudo <some command>` as root).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to