Wizard: Improve folder creation
authorMarkus Goetz <markus@woboq.com>
Wed, 5 Apr 2017 14:55:36 +0000 (16:55 +0200)
committerMarkus Goetz <markus@woboq.com>
Wed, 5 Apr 2017 14:55:52 +0000 (16:55 +0200)
src/gui/owncloudsetupwizard.cpp

index 22ac50b0ec233f26abc23a69ff0890e3b8bdf544..933d36bd832db0f4161d9784abf3b5c4d0bc2218 100644 (file)
@@ -368,6 +368,7 @@ void OwncloudSetupWizard::slotCreateLocalAndRemoteFolders(const QString& localFo
 
     bool nextStep = true;
     if( fi.exists() ) {
+        FileSystem::setFolderMinimumPermissions(localFolder);
         // there is an existing local folder. If its non empty, it can only be synced if the
         // ownCloud is newly created.
         _ocWizard->appendToConfigurationLog(