aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 36bbb4a..e5f6aed 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -508,7 +508,7 @@ function set_jail_perms {
echo Setting jail $1 permissions...
cat $TEMPLATE_BASE.perms | while read entry; do
file="`echo $entry | cut -d ";" -f 1`"
- if [ -a "$TEMPLATE_BASE.d/$file" ] && [ -a "$1/$file" ]; then
+ if [ -e "$TEMPLATE_BASE.d/$file" ] && [ -a "$1/$file" ]; then
owner="`echo $entry | cut -d ";" -f 2`"
group="`echo $entry | cut -d ";" -f 3`"
perms="`echo $entry | cut -d ";" -f 4`"