]> git.plutz.net Git - bootimage/blob - permissions.mk
permissions for /usr
[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/*