]> git.plutz.net Git - bootimage/blob - permissions.mk
adaptions from Zirkus Zack branch
[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 -R a+rX config_*/opt/
11         -chmod 0700 config_*/var/lib/polkit-1/
12         -chgrp -R 107 config_*/var/spool/cron/crontabs/
13         -chmod 1730 config_*/var/spool/cron/crontabs/
14         -chmod 0600 config_*/var/spool/cron/crontabs/*
15         -chmod 0600 config_*/etc/NetworkManager/system-connections/*
16         -chmod 0750 config_*/root/
17         -chmod 0700 config_*/root/.ssh/
18         -chmod 0600 config_*/root/.ssh/authorized_keys
19         -chmod 0750 config_*/home/*/
20         -chmod 0700 config_*/home/*/.ssh/
21         -chmod 0600 config_*/home/*/.ssh/authorized_keys
22         -chown 1014:1014 config_*/home/guest