]> git.plutz.net Git - bootimage/blob - permissions.mk
permissions for lib/
[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 0700 config_*/var/lib/polkit-1/
10         -chmod 0750 config_*/root/
11         -chmod 0700 config_*/root/.ssh/
12         -chmod 0600 config_*/root/.ssh/authorized_keys
13         -chmod 0750 config_*/home/*/
14         -chmod 0700 config_*/home/*/.ssh/
15         -chmod 0600 config_*/home/*/.ssh/authorized_keys
16         -chgrp -R 107 config_*/var/spool/cron/crontabs/
17         -chmod 1730 config_*/var/spool/cron/crontabs/
18         -chmod 0600 config_*/var/spool/cron/crontabs/*