From 49b7e82c34e8e47692b70467871d2191556d0efe Mon Sep 17 00:00:00 2001 From: cassio Date: Wed, 29 Aug 2018 11:31:50 +0200 Subject: fixing file permissions --- tools/boca-fixssh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/boca-fixssh') diff --git a/tools/boca-fixssh b/tools/boca-fixssh index 2082022..6206a01 100644 --- a/tools/boca-fixssh +++ b/tools/boca-fixssh @@ -1,4 +1,7 @@ #!/bin/bash +chown root.root /var/log/boca-fixssh.* 2>/dev/null +chmod 600 /var/log/boca-fixssh.* 2>/dev/null + if [ "`id bocassh 2>/dev/null`" != "" ]; then if [ ! -d /var/www/boca/home/.ssh ]; then mkdir -p /var/www/boca/home/.ssh -- cgit v1.2.3