[SERVER-3912] mongo shell creates a new .dbshell file in the current directory on windows(should be user's home directory?) Created: 20/Sep/11 Updated: 11/Jul/16 Resolved: 12/Oct/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.0.0 |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7 64-bit. |
||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | Windows | ||||||||
| Participants: | |||||||||
| Description |
|
Every time the mongo shell is started it results in a copy of .dbshell in the current working directory. This can lead to multiple copies of .dbshell in different directories. It should probably create a single copy of .dbshell in the user's home directory. To reproduce: C:\test>dir Directory of C:\test 09/20/2011 02:49 PM <DIR> . C:\test>\mongodb\mongodb-win32-x86_64-2.0.0\bin\mongo.exe Directory of C:\test 09/20/2011 02:49 PM <DIR> . C:\test>mkdir subdir C:\test>cd subdir C:\test\subdir>dir Directory of C:\test\subdir 09/20/2011 02:49 PM <DIR> . C:\test\subdir>\mongodb\mongodb-win32-x86_64-2.0.0\bin\mongo.exe Directory of C:\test\subdir 09/20/2011 02:49 PM <DIR> . C:\test\subdir> |
| Comments |
| Comment by Justin Dearing [ 17/Sep/12 ] |
|
I vote to backport this to the next 2.0 release if there is one. Its low risk, and its a really annoying behavior. |
| Comment by auto [ 11/Oct/11 ] |
|
Author: {u'login': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |