diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-07-26 21:33:26 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-07-26 21:33:26 -0400 |
commit | 6ef7064d32718cc3b93f1c240e5e88c48fa4cf66 (patch) | |
tree | 164ef53dcade8a80f1821ea841e71275bbb92683 /src/share/common | |
parent | b35bedeb0f5788345be2f9c1ac7753a3d002cb97 (diff) |
added MONKEYSPHERE_STRICT_MODES environment option to disable permissions checking.
Diffstat (limited to 'src/share/common')
-rw-r--r-- | src/share/common | 4 |
1 files changed, 4 insertions, 0 deletions
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 |