Fix bug in is_writeable(), was passing the wrong path
This commit is contained in:
parent
732ad7f6c1
commit
2908145b94
|
@ -219,7 +219,8 @@ class OC_FILESTORAGE_SHARED extends OC_FILESTORAGE {
|
|||
if ($path == "" || $path == "/") {
|
||||
return true;
|
||||
} else {
|
||||
return OC_SHARE::isWriteable($path);
|
||||
$target = OC_FILESYSTEM::getStorageMountPoint($this).$path;
|
||||
return OC_SHARE::isWriteable($target);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue