mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
init-browser-policies.bash: use the capital X in setfacl here as well
This commit is contained in:
parent
d23c2a0ad3
commit
cab85e4bf8
@ -11,7 +11,7 @@ fi
|
|||||||
|
|
||||||
# Firefox and LibreWolf (caution! https://codeberg.org/librewolf/issues/issues/1767)
|
# Firefox and LibreWolf (caution! https://codeberg.org/librewolf/issues/issues/1767)
|
||||||
mkdir -vp /etc/firefox/policies
|
mkdir -vp /etc/firefox/policies
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/firefox/policies
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/firefox/policies
|
||||||
chmod -v a+rx /etc/firefox/
|
chmod -v a+rx /etc/firefox/
|
||||||
chmod -v a+rx /etc/firefox/policies/
|
chmod -v a+rx /etc/firefox/policies/
|
||||||
touch /etc/firefox/policies/policies.json
|
touch /etc/firefox/policies/policies.json
|
||||||
@ -31,35 +31,35 @@ ln -nsfv /etc/firefox /etc/firefox-esr
|
|||||||
|
|
||||||
# Chromium
|
# Chromium
|
||||||
mkdir -vp /etc/opt/chromium/policies/{managed,recommended}
|
mkdir -vp /etc/opt/chromium/policies/{managed,recommended}
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/firefox/policies
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/firefox/policies
|
||||||
chmod -v a+rx /etc/opt/chromium/policies/
|
chmod -v a+rx /etc/opt/chromium/policies/
|
||||||
chmod -v a+rx /etc/opt/chromium/policies/{managed,recommended}/
|
chmod -v a+rx /etc/opt/chromium/policies/{managed,recommended}/
|
||||||
|
|
||||||
# Brave
|
# Brave
|
||||||
mkdir -p /etc/brave
|
mkdir -p /etc/brave
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/brave
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/brave
|
||||||
ln -nsfv /etc/opt/chromium/policies /etc/brave/policies
|
ln -nsfv /etc/opt/chromium/policies /etc/brave/policies
|
||||||
|
|
||||||
# Vivaldi
|
# Vivaldi
|
||||||
mkdir -p /etc/chromium
|
mkdir -p /etc/chromium
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/chromium
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/chromium
|
||||||
ln -nsfv /etc/opt/chromium/policies /etc/chromium/policies
|
ln -nsfv /etc/opt/chromium/policies /etc/chromium/policies
|
||||||
|
|
||||||
# Google Chrome
|
# Google Chrome
|
||||||
mkdir -p /etc/opt/chrome
|
mkdir -p /etc/opt/chrome
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/opt/chrome
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/opt/chrome
|
||||||
ln -nsfv /etc/opt/chromium/policies /etc/opt/chrome/policies
|
ln -nsfv /etc/opt/chromium/policies /etc/opt/chrome/policies
|
||||||
|
|
||||||
# Naggig suspicion of another Google Chrome
|
# Naggig suspicion of another Google Chrome
|
||||||
mkdir -p /etc/chrome
|
mkdir -p /etc/chrome
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/chrome
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/chrome
|
||||||
ln -nsfv /etc/opt/chromium/policies /etc/chrome/policies
|
ln -nsfv /etc/opt/chromium/policies /etc/chrome/policies
|
||||||
|
|
||||||
# Microsoft Edge
|
# Microsoft Edge
|
||||||
# I used to have a separate policy for it so remember to remove this manually
|
# I used to have a separate policy for it so remember to remove this manually
|
||||||
# if it exists!
|
# if it exists!
|
||||||
mkdir -p /etc/opt/edge
|
mkdir -p /etc/opt/edge
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /etc/opt/edge
|
setfacl --recursive --modify=u:root:rwX,o:rX /etc/opt/edge
|
||||||
ln -nsfv /etc/opt/chromium/policies /etc/opt/edge/policies
|
ln -nsfv /etc/opt/chromium/policies /etc/opt/edge/policies
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user