diff options
author | Matthew Goins <mjgoins@openflows.com> | 2009-07-11 12:46:11 -0400 |
---|---|---|
committer | Matthew Goins <mjgoins@openflows.com> | 2009-07-11 12:46:11 -0400 |
commit | 9eb1c769ec82b339079ba786fce9592ec846f115 (patch) | |
tree | 02231e9ef092a77496362f6930cdb72be32a8219 /src/share/common | |
parent | 2be12861abfe70143aada51e9034a218967658bf (diff) | |
parent | eb815bce0da27a24ad718c31b77e45032e3a5916 (diff) |
Merge commit 'dkg/master'
Diffstat (limited to 'src/share/common')
-rw-r--r-- | src/share/common | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/share/common b/src/share/common index 11e7969..bd887d3 100644 --- a/src/share/common +++ b/src/share/common @@ -425,6 +425,12 @@ check_key_file_permissions() { log debug "checking path permission '$path'..." + # rewrite path if it points to a symlink + if [ -h "$path" ] ; then + path=$(readlink -f "$path") + log debug "checking path symlink '$path'..." + fi + # return 255 if cannot stat file if ! stat=$(ls -ld "$path" 2>/dev/null) ; then log error "could not stat path '$path'." |