From: Oleksandr Gavenko <gavenko@bifit.com.ua>
To: 9920@debbugs.gnu.org
Subject: bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el'.
Date: Mon, 31 Oct 2011 15:33:18 +0200 [thread overview]
Message-ID: <4EAEA39E.1080304@bifit.com.ua> (raw)
Under Debian I have:
$ ls -l .hg/hgrc
-rw-rw-r-- 1 www-data www-data 97 19 18:23 .hg/hgrc
To resolve issue http://mercurial.selenic.com/wiki/Trust I put to '~/.hgrc':
[trusted]
users = apache, daemon, www-data
groups = apache, daemon, www-data
but Emacs ignore that as some 'hg' command invoked with
'HGRCPATH='. So
$ hg st README.rst
M README.rst
$ HGRCPATH= hg st README.rst
Not trusting file /usr/srv/hg/test/.hg/hgrc from untrusted user
www-data, group www-data
Not trusting file .hg/hgrc from untrusted user www-data, group www-data
Not trusting file /usr/srv/hg/test/.hg/hgrc from untrusted user
www-data, group www-data
Not trusting file /usr/srv/hg/test/.hg/hgrc from untrusted user
www-data, group www-data
M README.rst
Because of this Emacs VC status line show "Not trusting file..." instead
of "Hg-201".
And so C-x v v does not work as Emacs does not detect local changes in
file...
So I can not commit from a file. As workaround I commit from VC-dir.
--
Best regards!
next reply other threads:[~2011-10-31 13:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-31 13:33 Oleksandr Gavenko [this message]
2011-10-31 20:26 ` bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el' Dan Nicolaescu
2011-11-01 9:29 ` Oleksandr Gavenko
2011-11-02 14:08 ` Dan Nicolaescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EAEA39E.1080304@bifit.com.ua \
--to=gavenko@bifit.com.ua \
--cc=9920@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.