nextcloud/lib/private/legacy
Robert Dailey ff4dc3b66b 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-30 08:39:45 +00: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 Change doc link for 15 2018-12-10 11:28:18 +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-29 16:48:06 +00:00
template.php Compile contactmenu handlebars templates 2018-09-27 20:33:58 +02:00
user.php add back-end as parameter to the pre-login hook 2018-09-14 17:23:06 +02:00
util.php Improve data directory write checking for NFS mounts 2019-01-30 08:39:45 +00:00