diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-01-02 04:59:24 +0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2012-01-02 04:59:24 +0400 |
commit | 4374d55e5e020a1f2673a18991be6f2560e9f2c3 (patch) | |
tree | 325ff4909a6592b27280ca6e7b213c27039711e8 /lib/filestorage | |
parent | 470bab9c682fdbe4dcb331f2f6a00b3a9aefc929 (diff) |
Correct local permissions checks
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php index 02746fa6c6f..cfc27159786 100644 --- a/lib/filestorage/local.php +++ b/lib/filestorage/local.php @@ -50,10 +50,10 @@ class OC_Filestorage_Local extends OC_Filestorage{ } } public function is_readable($path){ - return true; + return is_readable($this->datadir.$path); } public function is_writeable($path){ - return true; + return is_writable($this->datadir.$path); } public function file_exists($path){ return file_exists($this->datadir.$path); |