bugmonotone - 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: 

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

Zbigniew Zagórski <zzagorski>
Group Member
Fri 26 Jan 2007 09:50:26 AM UTC, original submission:  

$ mtn genkey -email is unavailable-
mtn: generating key-pair 'guitone@thomaskeller.biz'
enter passphrase for key ID [guitone@thomaskeller.biz]:
confirm passphrase for key ID [guitone@thomaskeller.biz]:
mtn: storing key-pair 'guitone@thomaskeller.biz' in /path/to/.monotone/keys/
mtn: fatal: boost::filesystem::filesystem_error: boost::filesystem::create_directory: "/path/to/.monotone": Keine Berechtigung
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn --full-version',
mtn: and a description of what you were doing to monotone-devel@nongnu.org.
mtn: failed to write debugging log to /path/to/.monotone/dump

Sure, one should have read/write rights in one's own home directory, but hey, this could be said nicer... =)

Thomas Keller <tommyd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zzagorski (Updated the item)
  • -email is unavailable- added by tommyd (Submitted the item)
  •  

    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 StatusNone Fixed
        Open/ClosedAccepted Closed
    2010-04-29 zzagorski Severity3 - Normal 2 - Minor
        Open/ClosedOpen Accepted

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code