You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
326 B
10 lines
326 B
#!/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 /usr/lib/chromium-browser/chromium-browser
|
|
|
|
su -s /bin/sh -c "/usr/bin/chromium-browser --user-data-dir=/data $@" $USER
|