mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Narrow down ReadWrite folder permission to owner
Signed-off-by: suiso67 <suiso67@macadamia.rocks>
This commit is contained in:
parent
2455bb00c1
commit
76cbf658ea
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