My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1027: Command line tools should enforce correct user
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by TheMole...@gmail.com, Jun 29, 2011
Affected Version: 2.1.8

What steps will reproduce the problem?
1. Start with a repository without any notes and a standard installation
2. Run the ExportReviewNote command as root.

What is the expected output? What do you see instead?
There are no warnings in the documents saying not to do this.
No warnings are generated by the command when you do this.
The command creates new files and directories within the MY_PROJECT.git/objects/ directory owned as root. When gerrit tries to modify these it fails. (See issue 1026).

Please provide any additional information below.
The command should probably check to see whether it is running as the configured container.user user. If it isn't then it should quit with an appropriate error message.
Sign in to add a comment

Powered by Google Project Hosting