cookutils rev 277
cook: limit permission change for slitaz group
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 12:25:34 2012 +0100 (2012-01-08) |
parents | d9880aa3f3e5 |
children | 9f1f08cddbc8 |
files | cook |
line diff
1.1 --- a/cook Fri Jan 06 18:55:08 2012 +0100 1.2 +++ b/cook Sun Jan 08 12:25:34 2012 +0100 1.3 @@ -810,8 +810,8 @@ 1.4 addgroup slitaz 1.5 fi 1.6 gettext -e "Setting permissions for slitaz group...\n" 1.7 - chown -R root.slitaz $SLITAZ 1.8 - chmod -R g+w $SLITAZ 1.9 + find $SLITAZ -maxdepth 2 -exec chown root.slitaz {} \; 1.10 + find $SLITAZ -maxdepth 2 -exec chmod g+w {} \; 1.11 separator 1.12 gettext -e "All done, ready to cook packages :-)\n\n" ;; 1.13 test)