From 6ef7064d32718cc3b93f1c240e5e88c48fa4cf66 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 26 Jul 2009 21:33:26 -0400 Subject: added MONKEYSPHERE_STRICT_MODES environment option to disable permissions checking. --- src/share/common | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/share/common') diff --git a/src/share/common b/src/share/common index 3f71719..cad2572 100644 --- a/src/share/common +++ b/src/share/common @@ -424,6 +424,10 @@ check_key_file_permissions() { uname="$1" path="$2" + if [ "$STRICT_MODES" = 'false' ] ; then + log debug "skipping path permission check for '$path' because STRICT_MODES is false..." + return 0 + fi log debug "checking path permission '$path'..." # rewrite path if it points to a symlink -- cgit v1.2.3