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.

Home Page:https://github.com/GAM-team/got-your-back/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant run GYB with $TMPDIR mounted with noexec

chris114782 opened this issue · comments

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.