You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?