diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-03-17 12:53:26 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-03-17 12:53:55 +0100 |
commit | 166dfbf58bd8944688c0941dfbca052a600faef1 (patch) | |
tree | 36757939c13100c79536df964535e63214b37c71 /lib/private/util.php | |
parent | 518903c6eb865b7773e8953e5acb955551ad1674 (diff) | |
download | nextcloud-server-166dfbf58bd8944688c0941dfbca052a600faef1.tar.gz nextcloud-server-166dfbf58bd8944688c0941dfbca052a600faef1.zip |
use a non-recursive chmod on the datadir
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-x | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 920161949ae..fc78566e456 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -526,7 +526,7 @@ class OC_Util { .' cannot be listed by other users.'; $perms = substr(decoct(@fileperms($dataDirectory)), -3); if (substr($perms, -1) != '0') { - OC_Helper::chmodr($dataDirectory, 0770); + chmod($dataDirectory, 0770); clearstatcache(); $perms = substr(decoct(@fileperms($dataDirectory)), -3); if (substr($perms, 2, 1) != '0') { |