]> git.plutz.net Git - bootimage/blob - permissions.mk
0930d2ed4bc0e7b1687873479efa4e776f38c420
[bootimage] / permissions.mk
1 .PHONY: permissions
2
3 permissions: ${CONFIG} .FORCE                                                                                           
4         chown -R root:root config_*/ 
5         chmod 0755 config_*/
6         -chmod -R a+rX config_*/etc/
7         -chmod -R a+rX config_*/var/
8         -chmod -R a+rX config_*/lib/
9         -chmod -R a+rX config_*/usr/
10         -chmod 0700 config_*/var/lib/polkit-1/
11         -chmod 0750 config_*/root/
12         -chmod 0700 config_*/root/.ssh/
13         -chmod 0600 config_*/root/.ssh/authorized_keys
14         -chmod 0750 config_*/home/*/
15         -chmod 0700 config_*/home/*/.ssh/
16         -chmod 0600 config_*/home/*/.ssh/authorized_keys
17         -chgrp -R 107 config_*/var/spool/cron/crontabs/
18         -chmod 1730 config_*/var/spool/cron/crontabs/
19         -chmod 0600 config_*/var/spool/cron/crontabs/*
20         -chmod 0600 config_*/etc/NetworkManager/system-connections/*