monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] [bug #29576] mtn tries to rewrite options file every ti


From: Jack Lloyd
Subject: [Monotone-devel] [bug #29576] mtn tries to rewrite options file every time
Date: Fri, 16 Apr 2010 15:37:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8

URL:
  <http://savannah.nongnu.org/bugs/?29576>

                 Summary: mtn tries to rewrite options file every time
                 Project: monotone
            Submitted by: randombit
            Submitted on: Fri 16 Apr 2010 03:37:37 PM GMT
                Category: working copy
                Severity: 3 - Normal
              Item Group: incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
      mtn version --full: monotone 0.47 (base revision:
58eca89fab6322a14c219fb377eae54e21311986)
Running on          : Linux 2.6.33-gentoo-1 #1 SMP Tue Mar 2 12:42:36 EST
2010 x86_64
C++ compiler        : GNU C++ version 4.4.3
C++ standard library: GNU libstdc++ version 20100121
Boost version       : 1_41
SQLite version      : 3.6.22 (compiled against 3.6.22)
Lua version         : Lua 5.1
PCRE version        : 7.9 2009-04-11 (compiled against 7.9)
Botan version       : 1.8.8 (compiled against 1.8.8)
Changes since base revision:
format_version "1"

new_manifest [69563b5f6cb9e1af6a87aebd6d672e721f646026]

old_revision [58eca89fab6322a14c219fb377eae54e21311986]

  Generated from data cached in the distribution;
  further changes may have been made.


    _______________________________________________________

Details:


Monotone seemingly tries to rewrite the options file every time it is run.
This causes problems with running `mtn stat` or `mtn diff` in a directory
where the current user does not match the user who owns the _MTN directory.

The canonical case for this is when mtn is used to maintain /etc; typically
you'd want to be able to diff or stat files as a normal user, and then do
manipulations (checkins, etc) using sudo. Or at least I would.

Workaround: run mtn stat/mtn diff as root. :(





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29576>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]