GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.56k stars 203 forks source link

Cant run GYB with $TMPDIR mounted with noexec #465

Open chris114782 opened 2 months ago

chris114782 commented 2 months ago

Full steps to reproduce the issue:

  1. mount /tmp with the noexec option (as required by various security compliance standards)
  2. attempt to execute GYB

Expected outcome (what are you trying to do?):

Execute GYB successfully

Actual outcome (what errors or bad behavior do you see instead?):

gyb: error while loading shared libraries: libz.so.1: failed to map segment from shared object

This error immediately disappears if /tmp is mounted without the noexec option, or if you set $TMPDIR to somewhere else for the GYB process.