We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca2f46 commit 43fbf1eCopy full SHA for 43fbf1e
Sources/FoundationEssentials/FileManager/FileOperations.swift
@@ -960,7 +960,7 @@ enum _FileOperations {
960
961
#if !os(WASI) // WASI doesn't have fchmod for now
962
// Copy permissions
963
- if fchmod(dstFD, statInfo.st_mode) != 0 {
+ if fchmod(dstFD, mode_t(statInfo.st_mode)) != 0 {
964
try delegate.throwIfNecessary(errno, srcPath(), dstPath())
965
}
966
#endif
0 commit comments