Sha256: 79fe609a584b0f19062b5ee4916ac761897e435443e55e62b4c92841e3b32492

Contents?: true

Size: 422 Bytes

Versions: 20

Compression:

Stored size: 422 Bytes

Contents

#!/bin/bash
set -e

chown -R "$APP_UID:$APP_GID" /home/app
groupmod -g "$APP_GID" app
usermod -u "$APP_UID" -g "$APP_GID" app

# There's something strange with either Docker or the kernel, so that
# the 'app' user cannot access its home directory even after a proper
# chown/chmod. We work around it like this.
mv /home/app /home/app2
cp -dpR /home/app2 /home/app
rm -rf /home/app2

if [[ $# -gt 0 ]]; then
  exec "$@"
fi

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
passenger-4.0.60 packaging/rpm/internal/inituidgid
passenger-5.0.4 packaging/rpm/internal/inituidgid
passenger-5.0.3 packaging/rpm/internal/inituidgid
passenger-5.0.2 packaging/rpm/internal/inituidgid
passenger-5.0.1 packaging/rpm/internal/inituidgid
passenger-5.0.0.rc2 packaging/rpm/internal/inituidgid
passenger-5.0.0.rc1 packaging/rpm/internal/inituidgid
passenger-4.0.59 packaging/rpm/internal/inituidgid
passenger-5.0.0.beta3 packaging/rpm/internal/inituidgid
passenger-4.0.58 packaging/rpm/internal/inituidgid
passenger-4.0.57 packaging/rpm/internal/inituidgid
passenger-5.0.0.beta2 packaging/rpm/internal/inituidgid
passenger-4.0.56 packaging/rpm/internal/inituidgid
passenger-4.0.55 packaging/rpm/internal/inituidgid
passenger-5.0.0.beta1 packaging/rpm/internal/inituidgid
passenger-4.0.53 packaging/rpm/internal/inituidgid
passenger-4.0.52 packaging/rpm/internal/inituidgid
passenger-4.0.51 packaging/rpm/internal/inituidgid
passenger-4.0.50 packaging/rpm/internal/inituidgid
passenger-4.0.49 packaging/rpm/internal/inituidgid