}
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());