mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Merge pull request #7091 from nextcloud/backport/6949/stable-3.14
[stable-3.14] Narrow down ReadWrite folder permission to owner
This commit is contained in:
commit
3a1ad772ab
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ bool FileSystem::setFolderPermissions(const QString &path,
|
|||
case OCC::FileSystem::FolderPermissions::ReadOnly:
|
||||
break;
|
||||
case OCC::FileSystem::FolderPermissions::ReadWrite:
|
||||
std::filesystem::permissions(stdStrPath, writePerms, std::filesystem::perm_options::add);
|
||||
std::filesystem::permissions(stdStrPath, std::filesystem::perms::owner_write, std::filesystem::perm_options::add);
|
||||
break;
|
||||
}
|
||||
} catch (const std::filesystem::filesystem_error &e) {
|
||||
|
|
Loading…
Reference in a new issue