server/lib/private/legacy
Robert Dailey a170bf80ec
Improve data directory write checking for NFS mounts
If `is_writable()` fails, fall back to logic that attempts to create a file
and then checks if it exists. If this check fails, an error occurs as it
did before.

Discussion on this solution was found here:
https://help.nextcloud.com/t/write-errors-for-nfs-mount/23328

Fixes #7124

Signed-off-by: Robert Dailey <rcdailey@gmail.com>
2019-01-24 20:39:52 -06:00
..
db Return value immediately instead of assigning to a one-time variable 2018-01-26 00:02:03 +01:00
template Move public preview endpoint over 2018-06-20 08:53:37 +02:00
api.php Replace hardcoded status headers with calls to http_response_code() 2018-06-26 16:14:15 +02:00
app.php Use numeric placeholders if there are multiple, so that RTL languages can operate better 2018-10-09 14:32:14 +02:00
db.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
defaults.php Use OC_Util::getVersion instead of getSystemValue 2018-12-07 11:42:12 +01:00
eventsource.php Remove unused methods of OC_Json 2018-03-21 14:36:34 +01:00
filechunking.php Update with robin 2016-07-21 18:13:58 +02:00
files.php Replace hardcoded status headers with calls to http_response_code() 2018-06-26 16:14:15 +02:00
helper.php Deprecate unused, private OC_Helper::linkToPublic 2018-10-08 18:29:52 +02:00
hook.php Update with robin 2016-07-21 18:13:58 +02:00
image.php Remove unneeded semicolon and parentheses 2018-01-26 23:46:40 +01:00
json.php Remove unused code in legacy classes 2018-10-03 22:07:51 +02:00
response.php Set Referrer-Policy also in addSecurityHeaders() 2018-11-27 16:39:06 +01:00
template.php Update select2, include css 2019-01-09 15:02:01 +01:00
user.php Urlencode the requesttoken 2019-01-23 16:16:31 +01:00
util.php Improve data directory write checking for NFS mounts 2019-01-24 20:39:52 -06:00