diff options
author | icewind1991 <robin@icewind.nl> | 2014-03-17 15:52:44 +0100 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-03-17 15:52:44 +0100 |
commit | 6fbf3dd7c4e64a68d2b8a0a2c24a1b92de7868b1 (patch) | |
tree | 4a1963af45b76099c648f335bbc70cbc34276d60 /lib/private/util.php | |
parent | 5c72b526a39647ee5c852793002ad14efbf13ca1 (diff) | |
parent | 166dfbf58bd8944688c0941dfbca052a600faef1 (diff) | |
download | nextcloud-server-6fbf3dd7c4e64a68d2b8a0a2c24a1b92de7868b1.tar.gz nextcloud-server-6fbf3dd7c4e64a68d2b8a0a2c24a1b92de7868b1.zip |
Merge pull request #7764 from owncloud/datadir-chmod
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') { |