* bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el'.
@ 2011-10-31 13:33 Oleksandr Gavenko
2011-10-31 20:26 ` Dan Nicolaescu
0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2011-10-31 13:33 UTC (permalink / raw
To: 9920
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el'.
2011-10-31 13:33 bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el' Oleksandr Gavenko
@ 2011-10-31 20:26 ` Dan Nicolaescu
2011-11-01 9:29 ` Oleksandr Gavenko
0 siblings, 1 reply; 4+ messages in thread
From: Dan Nicolaescu @ 2011-10-31 20:26 UTC (permalink / raw
To: Oleksandr Gavenko; +Cc: 9920
Oleksandr Gavenko <gavenko@bifit.com.ua> writes:
> Under Debian I have:
What version of emacs are you using?
emacs-23.3 and emacs-snapshot do not set HGRCPATH anymore, so you should
not see this issue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el'.
2011-10-31 20:26 ` Dan Nicolaescu
@ 2011-11-01 9:29 ` Oleksandr Gavenko
2011-11-02 14:08 ` Dan Nicolaescu
0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2011-11-01 9:29 UTC (permalink / raw
Cc: 9920
31.10.2011 22:26, Dan Nicolaescu пишет:
> Oleksandr Gavenko<gavenko@bifit.com.ua> writes:
>
>> Under Debian I have:
>
> What version of emacs are you using?
> emacs-23.3 and emacs-snapshot do not set HGRCPATH anymore, so you should
> not see this issue.
>
23.2 as this in subj.
As you wrote I think updating Emacs to new version resolve my issue...
Currently I can not update Emacs version without additional effort
as Debian does not provide Emacs 23.3 in "stable".
--
С уважением, Александр Гавенко.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el'.
2011-11-01 9:29 ` Oleksandr Gavenko
@ 2011-11-02 14:08 ` Dan Nicolaescu
0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2011-11-02 14:08 UTC (permalink / raw
To: Oleksandr Gavenko; +Cc: 9920-done
Closing, works in 23.3.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-02 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-31 13:33 bug#9920: 23.2; Not trusting file .hg/hgrc from untrusted user... for 'vc-hg.el' Oleksandr Gavenko
2011-10-31 20:26 ` Dan Nicolaescu
2011-11-01 9:29 ` Oleksandr Gavenko
2011-11-02 14:08 ` Dan Nicolaescu
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.