server/lib/private
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
..
Accounts Add default values when parsing account data 2018-12-23 16:33:02 +01:00
Activity Fix default types of activity event member variables 2018-10-15 11:45:17 +02:00
App Use numeric placeholders if there are multiple, so that RTL languages can operate better 2018-10-09 14:32:14 +02:00
AppFramework Make RouteConfig strict 2019-01-22 14:18:58 +01:00
Archive move log constants to ILogger 2018-04-26 10:45:52 +02:00
Authentication Read openssl error and log 2018-12-06 21:27:57 +01:00
BackgroundJob Fix integer background job id type error 2019-01-15 14:36:03 +01:00
Cache remove unneeded is_dir from file cache gc 2018-05-24 14:24:10 +02:00
Calendar RoomManager/ResourceManager: Inject IServerContainer instead of using OC Server 2018-10-08 01:50:17 +02:00
Collaboration Fix injection to get the user id 2018-10-30 11:41:56 +01:00
Command Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Comments Rewrite getNumberOfUnreadCommentsForFolder query 2018-12-20 20:43:10 +01:00
Console Refactor some code 2018-08-21 09:51:05 +02:00
Contacts/ContactsMenu Don't fail contacts menu on unkown user 2018-07-19 11:39:28 +02:00
Dashboard include dashboard into core 2018-10-15 19:59:27 +02:00
DB Only check the Oracle schema conditions if the app supports it 2018-12-17 13:52:08 +01:00
Diagnostics Update license headers 2017-11-06 16:56:19 +01:00
Encryption list files which could not be decrypted 2018-12-14 12:00:49 +01:00
Federation translate nextcloud share types to OCM share types 2018-07-11 10:11:45 +02:00
Files Merge pull request #13739 from nextcloud/cache-cleanup-change 2019-01-22 16:11:46 +01:00
FullTextSearch using the createIndex from FullTextSearchManager 2018-12-20 08:34:17 +00:00
GlobalScale Update license headers 2017-11-06 16:56:19 +01:00
Group Merge pull request #12419 from nextcloud/bugfix/noid/group-creation-replace-insertIfNotExist 2018-11-12 21:14:38 +01:00
Hooks Fix PHP doc for API docs 2017-12-03 12:02:29 +01:00
Http HttpClient getHeader can return empty string 2019-01-08 14:14:59 +01:00
IntegrityCheck Handle strict typing in Checker and fix tests 2018-02-21 21:09:08 +01:00
L10N Typehint 2018-09-10 11:17:03 +02:00
legacy Improve data directory write checking for NFS mounts 2019-01-24 20:39:52 -06:00
Lock Merge pull request #11942 from nextcloud/techdebt/noid/use-count-function 2018-11-12 17:43:56 +01:00
Lockdown Update license headers 2017-11-06 16:56:19 +01:00
Log Don't log parameters on user creation in case of error/exception 2019-01-10 10:46:58 +01:00
Mail Addressing comments, array() to [] 2018-12-17 23:34:55 +01:00
Memcache Drop support for xcache 2018-08-12 17:14:08 +02:00
Migration Update license headers 2017-11-06 16:56:19 +01:00
Notification Add return types and fully qualified function calls 2018-07-13 13:27:52 +02:00
OCS Allow to skip retrieving from cache in the DiscoveryService 2018-04-18 19:18:34 +02:00
Preview Reduce text size of text file preview, fix #13720 2019-01-23 15:37:08 +01:00
Remote Add some more tests for ocs remote api 2017-12-08 16:37:14 +01:00
Repair Log and continue on Dav reader failure 2018-12-05 21:13:57 +01:00
RichObjectStrings Validate all rich objects not only the used ones 2018-11-23 12:39:02 +01:00
Route Use type casting instead of *val() method 2018-01-26 11:35:42 +01:00
Search Update license headers 2017-11-06 16:56:19 +01:00
Security Remove deprecated functions from SecureRandom 2018-12-07 19:33:32 +01:00
Session replace setcookie value with '' instead of null. 2018-09-06 20:34:16 +02:00
Settings Show proper default locale 2019-01-23 23:21:05 +01:00
Setup Use empty instead ?? because dbname is '' sometimes 2018-09-23 18:25:48 +02:00
Share Move merged-share-backend to webpack 2019-01-16 10:03:21 +01:00
Share20 Do not update child all child shares on group share update 2018-12-04 20:55:14 +01:00
Support/CrashReport Fix @since version on new API 2018-09-05 20:58:39 +02:00
SystemTag Use the defined func()->count() instead of manual counting 2018-11-08 15:44:45 +01:00
Tagging Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Template Fix colorizeSvg with transformations that contain a comma (,) 2019-01-17 14:24:07 +01:00
Updater Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
User Add isTokenLogin argument to post login hook/event 2019-01-23 19:47:47 +01:00
AllConfig.php Use a case insensitive search for email 2018-12-20 14:19:35 +01:00
AppConfig.php using isset() 2018-02-05 10:50:32 +01:00
Avatar.php Clear avatar cache with frontend repair 2018-11-08 08:31:21 +01:00
AvatarManager.php Clear avatar cache with frontend repair 2018-11-08 08:31:21 +01:00
CapabilitiesManager.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
Color.php Fix autoloader 2018-04-12 16:24:44 +02:00
Config.php Fix some typos 2018-03-21 14:30:56 +01:00
ContactsManager.php Allow access to addressbook unique uri 2019-01-22 10:03:56 +01:00
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php Update license headers 2017-11-06 16:56:19 +01:00
DateTimeZone.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
ForbiddenException.php
HintException.php Update license headers 2017-11-06 16:56:19 +01:00
Installer.php There is no update available if the app didnt have a version (aka was not installed) 2018-08-02 14:27:16 +02:00
LargeFileHelper.php Make LargeFileHelper.php faster by avoiding execs as much as possible 2018-05-17 14:28:32 +02:00
Log.php Add breadcrumb support to crash reporters 2018-09-05 20:58:39 +02:00
MemoryInfo.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSort.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
NaturalSort_DefaultCollator.php
NavigationManager.php Upgraded navigation submenu management and api + created sharing submenu 2018-07-13 09:33:57 +02:00
NeedsUpdateException.php
NotSquareException.php
PreviewManager.php Allow the creationg of previews of files stored in appdata 2018-10-08 19:37:45 +02:00
PreviewNotAvailableException.php
RedisFactory.php Update license headers 2017-11-06 16:56:19 +01:00
Repair.php Log and continue on Dav reader failure 2018-12-05 21:13:57 +01:00
RepairException.php
Search.php Removed deprecated search function from ISearch 2018-01-13 19:27:25 +01:00
Server.php Add isTokenLogin argument to post login hook/event 2019-01-23 19:47:47 +01:00
ServerContainer.php
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php Fix loading of .woff2 files in .htaccess 2018-11-18 11:02:20 +01:00
Streamer.php Use zip32 only if there are less than 65536 files 2018-04-06 15:59:30 +02:00
SubAdmin.php Use group displayNames in users list 2018-03-08 17:13:49 +01:00
SystemConfig.php Merge pull request #7020 from Fiech/master 2017-11-07 10:27:53 +01:00
TagManager.php
Tags.php Check if the favorite tag exists 2018-07-26 15:33:26 +02:00
TemplateLayout.php SCSS cache buster is a combination of apps/theming/scc_vars 2018-12-20 20:33:21 +01:00
TempManager.php Update license headers 2017-11-06 16:56:19 +01:00
Updater.php Revert "Wait for cron to finish before running upgrade command" 2018-11-01 15:23:40 +01:00
URLGenerator.php Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00