Skip to content

Commit

Permalink
Merge pull request #724 from aleck099/next
Browse files Browse the repository at this point in the history
Set default mode of mkdirat to 0775
  • Loading branch information
trcrsired authored May 21, 2024
2 parents 9ce553f + dc427d1 commit a7629b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fast_io_hosted/filesystem/posix_at.h
Original file line number Diff line number Diff line change
Expand Up @@ -538,13 +538,13 @@ inline posix_file_status native_fstatat(native_at_entry ent, path_type const &pa
}

template <::fast_io::constructible_to_os_c_str path_type>
inline void posix_mkdirat(native_at_entry ent, path_type const &path, perms perm = static_cast<perms>(436))
inline void posix_mkdirat(native_at_entry ent, path_type const &path, perms perm = static_cast<perms>(509))
{
return details::posix_deal_with1x<details::posix_api_1x::mkdirat>(ent.fd, path, static_cast<mode_t>(perm));
}

template <::fast_io::constructible_to_os_c_str path_type>
inline void native_mkdirat(native_at_entry ent, path_type const &path, perms perm = static_cast<perms>(436))
inline void native_mkdirat(native_at_entry ent, path_type const &path, perms perm = static_cast<perms>(509))
{
return details::posix_deal_with1x<details::posix_api_1x::mkdirat>(ent.fd, path, static_cast<mode_t>(perm));
}
Expand Down

0 comments on commit a7629b5

Please sign in to comment.