wok diff ppp/receipt @ rev 12282

qtwitter: try a fix
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 15:07:41 2012 +0200 (2012-04-15)
parents 296261710d4b
children b30c71e802a4
line diff
     1.1 --- a/ppp/receipt	Fri Mar 23 23:07:23 2012 +0100
     1.2 +++ b/ppp/receipt	Sun Apr 15 15:07:41 2012 +0200
     1.3 @@ -58,12 +58,14 @@
     1.4  	
     1.5  	cp -a $src/scripts/ip-up.local.add $fs/etc/ppp/ip-up
     1.6  	cp -a $src/scripts/ip-down.local.add $fs/etc/ppp/ip-down
     1.7 -	chmod +x $fs/etc/ppp/ip*
     1.8 +	chmod 711 $fs/etc/ppp/ip*
     1.9  
    1.10  	# insert #!/bin/sh  on top line in ip* scripts
    1.11  	sed -i '1i\#!/bin/sh' $fs/etc/ppp/ip*	
    1.12  	# add empty peers dir
    1.13  	mkdir -p $fs/etc/ppp/peers
    1.14 -	# hide data from regular users
    1.15 -	chmod -R go-rwx $fs/etc/ppp/*
    1.16 +	# hide login/pass from regular users
    1.17 +	chmod go-rwx $fs/etc/ppp/*secrets
    1.18 +	chmod go-rwx $fs/etc/ppp/options
    1.19 +	chmod 711 $fs/etc/ppp/scripts/*
    1.20  }