10 lines
306 B
Plaintext
10 lines
306 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
|
||
|
mkdir /data $HOME/.pki/nssdb $HOME/.local 2>/dev/null
|
||
|
chown -Rh $USER:$USER /data $HOME/.pki/nssdb $HOME/.local
|
||
|
|
||
|
# Befriend with grsecurity patched kernel
|
||
|
setfattr -n user.pax.flags -v m /opt/google/chrome/chrome
|
||
|
|
||
|
su -s /bin/sh -c "/usr/bin/google-chrome --user-data-dir=/data $@" $USER
|