Open CareF opened 7 months ago
When adding files to a PackageFilesInfo
from DefaultInfo
, the executable is detected and its permissions are changed to 0755
https://github.com/bazelbuild/rules_pkg/blob/c53ff51070c96b368188f057a6683d97c31b77f7/pkg/private/pkg_files.bzl#L411
I'm not sure why that wouldn't be happening here
Say I have
The foo file in the tarball will have permission 644:
https://github.com/bazelbuild/rules_pkg/blob/3917ae64448da126ded00197a4cc99ac43e2b20f/pkg/mappings.bzl#L258
It seems to me counter intuitive. Should the above line be None rather than 644? or am I misunderstood the usage of pkg_files?