evidence icon indicating copy to clipboard operation
evidence copied to clipboard

[Bug]: npm run build creates Parquet files with inconsistent permissions

Open tpot opened this issue 1 year ago • 1 comments

Describe the bug

I'm using rsync to upload updates to a site and it looks like the build process (sometimes?) creates parquet files without og+r permissions. This caused an issue with clients trying to load visualisations that require these files. AFAICT all the js, json and arrow files have consistent permissions and it's just the parquet files.

I added a chmod -R a+r build to my Makefile and everything was fine, but it's probably a umask issue in the build process somewhere.

Steps to Reproduce

Run npm run build and then run find build -type f ! -perm -g=r ! -perm -o=r to find files without og+r permission.

Logs

No response

System Info

No response

Severity

annoyance

Additional Information, or Workarounds

No response

tpot avatar Aug 28 '24 05:08 tpot