Fix folder creation issues.
authoralex-z <blackslayer4@gmail.com>
Tue, 19 Oct 2021 09:30:34 +0000 (12:30 +0300)
committerallexzander (Rebase PR Action) <allexzander@users.noreply.github.com>
Wed, 20 Oct 2021 19:47:41 +0000 (19:47 +0000)
Signed-off-by: alex-z <blackslayer4@gmail.com>
src/libsync/propagateremotemkdir.cpp

index af056d5e902d22c5bda4b054d481a71a1824c39f..ac1b5b62a859f3dac8ea31004b47fe72008ed354 100644 (file)
@@ -138,8 +138,8 @@ void PropagateRemoteMkdir::finalizeMkColJob(QNetworkReply::NetworkError err, con
     }
 
     propagator()->_activeJobList.append(this);
-    auto propfindJob = new PropfindJob(_job->account(), _job->path(), this);
-    propfindJob->setProperties({ "oc:permissions" });
+    auto propfindJob = new PropfindJob(propagator()->account(), jobPath, this);
+    propfindJob->setProperties({"http://owncloud.org/ns:permissions"});
     connect(propfindJob, &PropfindJob::result, this, [this, jobPath](const QVariantMap &result){
         propagator()->_activeJobList.removeOne(this);
         _item->_remotePerm = RemotePermissions::fromServerString(result.value(QStringLiteral("permissions")).toString());