rules_pkg icon indicating copy to clipboard operation
rules_pkg copied to clipboard

pkg_tar: load attributes for TreeArtifacts

Open novas0x2a opened this issue 2 years ago • 2 comments

This change teaches pkg_tar to reinvoke file_attributes for each individual file in a TreeArtifact; this function is used to load the attributes passed via pkg_tar arguments (like mode). Before this change, there's no way to set individual attributes for files in a TreeArtifact.

This attempts to maintain the previous behavior of intermediate dirs being 0o775, unless a custom mode is passed to override it.

novas0x2a avatar Nov 28 '23 00:11 novas0x2a

Any updates?

novas0x2a avatar Jan 09 '24 23:01 novas0x2a

Sorry for the last response. I was unavailable from Jan 10 until about now. Catching up on things during March.

aiuto avatar Mar 19 '24 20:03 aiuto