Skip to content

Instantly share code, notes, and snippets.

@jonasduerto
Forked from asyndesis/iw-lve-gid-fix
Created June 11, 2023 07:26
Show Gist options
  • Save jonasduerto/4e70849590c43d495ebe6cdf0706baa7 to your computer and use it in GitHub Desktop.
Save jonasduerto/4e70849590c43d495ebe6cdf0706baa7 to your computer and use it in GitHub Desktop.
InterWorx LVE GID fix
gid=`id -gr iworx`
if [ -e /proc/sys/fs/proc_super_gid ]; then
/bin/grep -q "fs.proc_super_gid=" /etc/sysctl.conf || echo "fs.proc_super_gid=${gid}" >> /etc/sysctl.conf
sysctl -p || :
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment