Argh!!!

Michael Smith michael.smith at thalesatm.com
Thu Mar 15 18:55:37 CDT 2007


I use mercurial to manage configuration files on my servers and I often 
do things like:

# su smithm -c "hg up"

...so the risk exists that one day I will make a similar mistake. Would 
it make sense for Mercurial to check the user which I am running as 
against the ownership of (say) .hg and refuse to work if I am not runing 
as that user?

Many applications, particularly editors, display warnings when run as 
root, because of the dangers involved.
-- 
Michael Smith      | 61 394 257 560
Team Leader, Tools | 61 416 062 898
Thales Australia   |    S  37.83150
Richmond, Victoria |    E 144.99675
-----------------------------------
Confidentiality Notice: This e-mail may contain confidential and/or 
privileged information and is intended solely for the addressee(s) 
named. If you have received this information in error, or are advised 
that you have been posted this e-mail by accident, please notify the 
sender by return e-mail, do not redistribute it, delete the e-mail and 
keep no copies.


More information about the Mercurial mailing list