rules_nixpkgs icon indicating copy to clipboard operation
rules_nixpkgs copied to clipboard

Use stat to retain file permissions when copying files

Open lamcw opened this issue 3 years ago • 0 comments

With stat instead of chmod, this should improve the performance of copying many files with cp as chmod runs multiple syscalls when changing permissions.

Would be great if I can get your help to test these changes on Linux as well!

This is an alternative solution to #258.

Closes #256.

lamcw avatar Aug 12 '22 01:08 lamcw