Closed
Description
The quick fix may be to just run the system cp
binary on unix platforms, but tracking down a relatively cross-platform way to stat
and chmod
files is probably worth the trouble.
Then the os::copy_file function should perhaps be modified to copy permissions, too...
There are a whole lot of posix functions in libc.rs, but I haven't seen a stat
or fstat
function there yet. Am I missing it or is this a gap?
Metadata
Metadata
Assignees
Labels
No labels