mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-14 06:38:00 +01:00
chmod: add autostart scripts
This commit is contained in:
parent
9b0319cb89
commit
3c86470921
7
chmod
7
chmod
@ -32,6 +32,13 @@ chmod -v 600 $HOME/.ssh/authorized_keys
|
||||
mkdir -p "$HOME/AppImages"
|
||||
chmod a+rx "$HOME/AppImages/" "$HOME/AppImages/*.appimage"
|
||||
|
||||
if [ -d "$HOME/.config/autostart-scripts" ]; then
|
||||
chmod -v +x "$HOME/.config/autostart-scripts/*"
|
||||
fi
|
||||
if [ -d "$HOME/.config/old-autostart-scripts" ]; then
|
||||
chmod -v +x "$HOME/.config/old-autostart-scripts/*"
|
||||
fi
|
||||
|
||||
# if we have support for setting ACL, some of this becomes easier (although maybe redundant)
|
||||
if hash setfacl 2> /dev/null; then
|
||||
setfacl --modify u:$(id -un):rw,g:$(id -gn):r,o:r $HOME/.oidentd.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user