[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] [patch] add access checks for monotonerc
From: |
Eric Christopher |
Subject: |
[Monotone-devel] [patch] add access checks for monotonerc |
Date: |
Fri, 2 Feb 2007 19:59:23 -0800 |
Since users could be storing something silly like a passphrase in
their monotonerc we should probably check to make sure it isn't
readable/writable by everyone else as well. Here's a quick patch to do
that. The downside is that we need to fix the rc file in a bunch of
the monotone testcases as well. That isn't in the patch :)
Thoughts?
-eric
2007-02-02 Eric Christopher <address@hidden>
* lua_hooks.cc: Include sys/stat.h and errno.h.
(load_rcfile): Check permissions on rc file. Warn
if greater than necessary.
lua_hooks.diff
Description: Binary data
- [Monotone-devel] [patch] add access checks for monotonerc,
Eric Christopher <=