monotone - Bugs: bug #18886, Crash if mtn genkey fails to save...
You are not allowed to post comments on this tracker with your current authentication level.
bug #18886: Crash if mtn genkey fails to save a key because of improper file system rights
Submitter: | Thomas Keller <tommyd> | ||
Submitted: | Fri 26 Jan 2007 09:50:26 AM UTC | ||
Category: | command line UI | Severity: | 2 - Minor |
Item Group: | crash | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | ||
mtn version --full: | mtn 0.31 |
Thu 29 Apr 2010 05:01:43 PM UTC, comment #1: |
Zbigniew Zagórski <zzagorski> |
Fri 26 Jan 2007 09:50:26 AM UTC, original submission:
$ mtn genkey -email is unavailable-
|
Thomas Keller <tommyd> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-04-29 | zzagorski | Status | None | Fixed | |
Open/Closed | Accepted | Closed | |||
2010-04-29 | zzagorski | Severity | 3 - Normal | 2 - Minor | |
Open/Closed | Open | Accepted |
Powered by Savane 3.13-4b48.
Corresponding source code
mtn 0.31:
$ mv /home/zbigg/.monotone/ /home/zbigg/.monotoneX
$ chmod -w ~
$ ./mtn-0.31-linux-x86 genkey spam
mtn-0.31-linux-x86: generating key-pair 'spam'
enter passphrase for key ID [spam]:
confirm passphrase for key ID [spam]:
mtn-0.31-linux-x86: storing key-pair 'spam' in /home/zbigg/.monotone/keys/
mtn-0.31-linux-x86: fatal: boost::filesystem::filesystem_error: boost::filesystem::create_directory: "/home/zbigg/.monotone": Permission denied
mtn-0.31-linux-x86: this is almost certainly a bug in monotone.
mtn-0.31-linux-x86: please send this error message, the output of 'mtn-0.31-linux-x86 --full-version',
mtn-0.31-linux-x86: and a description of what you were doing to monotone-devel@nongnu.org.
mtn-0.31-linux-x86: failed to write debugging log to /home/zbigg/.monotone/dump
mtn 0.47:
|i686| zbigg@home:/home/zbigg/projects/monotone/0.31
$ mtn genkey spam
enter passphrase for key ID [spam] (...):
confirm passphrase for key ID [spam] (...):
mtn: generating key-pair 'spam'
mtn: storing key-pair 'spam' in /home/zbigg/.monotone/keys/
mtn: error: could not create directory '/home/zbigg/.monotone': Permission denied