diff options
| author | cassio <cassiopc@gmail.com> | 2018-08-29 09:31:50 +0000 |
|---|---|---|
| committer | cassio <cassiopc@gmail.com> | 2018-08-29 09:31:50 +0000 |
| commit | 49b7e82c34e8e47692b70467871d2191556d0efe (patch) | |
| tree | 139eb45d4d166f58a67f8206314f108a1df4c8fe /tools/boca-fixssh | |
| parent | 78e178aaf018c36c4eda6b4231f9a4eb5e4e997a (diff) | |
| download | boca-49b7e82c34e8e47692b70467871d2191556d0efe.tar.gz boca-49b7e82c34e8e47692b70467871d2191556d0efe.zip | |
fixing file permissions
Diffstat (limited to 'tools/boca-fixssh')
| -rw-r--r-- | tools/boca-fixssh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |