ensure necessary directories are present
This commit is contained in:
parent
ed964fe14d
commit
90e6ae7673
5
launch
5
launch
@ -1,6 +1,9 @@
|
||||
#!/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
|
||||
su -s /bin/sh -c "/usr/bin/chromium-browser --user-data-dir=/data" $USER
|
||||
|
Loading…
Reference in New Issue
Block a user