fix(sddm): permissions and ownership of root-level SDDM confs
SDDM configs are at the system root level and are not user owned, therefore they must be owned by the root and have special permissions. `/etc/sddm.conf.d` and `/etc/sddm` *should* have permissions of 644. Root can read/write, everyone else can read.
This commit is contained in:
3
bootstrap.sh
Normal file → Executable file
3
bootstrap.sh
Normal file → Executable file
@@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## SDDM Confs
|
||||||
sudo mkdir -p /etc/sddm.conf.d
|
sudo mkdir -p /etc/sddm.conf.d
|
||||||
sudo cp -a system/sddm.conf.d /etc/
|
sudo cp -a system/sddm.conf.d /etc/
|
||||||
sudo cp -a system/sddm /etc/
|
sudo cp -a system/sddm /etc/
|
||||||
|
sudo chown -R root:root /etc/sddm.conf.d /etc/sddm
|
||||||
|
sudo chmod -R 644 /etc/sddm.conf.d /etc/sddm
|
||||||
|
|||||||
Reference in New Issue
Block a user