diff options
Diffstat (limited to 'leed.perm.sh')
-rw-r--r-- | leed.perm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/leed.perm.sh b/leed.perm.sh index 1ff26f8b37ff..5c46360ccab0 100644 --- a/leed.perm.sh +++ b/leed.perm.sh @@ -4,6 +4,6 @@ leed_path='/usr/share/webapps/leed' htuser='http' htgroup='http' -find ${leed_path}/ -type f -print0 | xargs -0 chmod 0640 -find ${leed_path}/ -type d -print0 | xargs -0 chmod 0750 +find ${leed_path}/ -type f -exec chmod 0640 {} \; +find ${leed_path}/ -type d -exec chmod 0750 {} \; chown -R ${htuser}:${htgroup} ${leed_path}/ |