int users_gid = OS::get_gid_from_name("users");
- using enum fs::perms;
- static constexpr fs::perms users_perms = owner_all
- | group_read | group_exec
- | others_read | others_exec;
-
- static constexpr fs::perms system_share_perms = owner_all
- | group_all
- | others_read | others_exec
- | set_gid;
-
- static constexpr fs::perms apps_rw_dir_perms = owner_all
- | group_read | group_exec;
+ static constexpr fs::perms users_perms = fs::perms::owner_all
+ | fs::perms::group_read | fs::perms::group_exec
+ | fs::perms::others_read | fs::perms::others_exec;
+
+ static constexpr fs::perms system_share_perms = fs::perms::owner_all
+ | fs::perms::group_all
+ | fs::perms::others_read | fs::perms::others_exec
+ | fs::perms::set_gid;
+
+ static constexpr fs::perms apps_rw_dir_perms = fs::perms::owner_all
+ | fs::perms::group_read | fs::perms::group_exec;
for (auto const& entry : fs::recursive_directory_iterator(source_path)) {
const auto s_path = entry.path();