mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 02:12:45 +01:00
std::filesystem uses perms::*_exec not _exe
This commit is contained in:
parent
26983ffa3d
commit
e34884598f
@ -115,15 +115,15 @@ public:
|
||||
}
|
||||
virtual void change_perms_normal() const override {
|
||||
rwfs::permissions(this->path(),
|
||||
rwfs::perms::owner_read | rwfs::perms::owner_write | rwfs::perms::owner_exe |
|
||||
rwfs::perms::group_read | rwfs::perms::group_exe |
|
||||
rwfs::perms::others_read | rwfs::perms::others_exe);
|
||||
rwfs::perms::owner_read | rwfs::perms::owner_write | rwfs::perms::owner_exec |
|
||||
rwfs::perms::group_read | rwfs::perms::group_exec |
|
||||
rwfs::perms::others_read | rwfs::perms::others_exec);
|
||||
}
|
||||
virtual void change_perms_readonly() const override {
|
||||
rwfs::permissions(this->path(),
|
||||
rwfs::perms::owner_read | rwfs::perms::owner_exe |
|
||||
rwfs::perms::group_read | rwfs::perms::group_exe |
|
||||
rwfs::perms::others_read | rwfs::perms::others_exe);
|
||||
rwfs::perms::owner_read | rwfs::perms::owner_exec |
|
||||
rwfs::perms::group_read | rwfs::perms::group_exec |
|
||||
rwfs::perms::others_read | rwfs::perms::others_exec);
|
||||
}
|
||||
virtual void remove() const override {
|
||||
// Remove may fail if this directory contains a read-only entry. Ignore.
|
||||
|
Loading…
Reference in New Issue
Block a user