[Slackbuilds-users] More 14.0 prep...

Binh Nguyen binhnguyen at fastmail.fm
Thu Sep 13 12:10:27 UTC 2012


On Thu, Sep 13, 2012, at 08:59 AM, Robby Workman wrote:
> 
> Finally, have a look at the commits since master in my branch of 
> the templates repo:
>   http://slackbuilds.org/cgit/templates/log/?h=rworkman
> Assuming that's understandable by everyone, I think I'll get that
> merged into master pretty soon (and it will branch for 14.0 just
> like the slackbuilds repo).
> 

A suggestion: Change

find . \
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
 -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o
 -perm 400 \) \
 -exec chmod 644 {} \;

to

chmod -R u+w,go+r-w,a+X-s .


The later is much shorter, easier to understand; and it covers the
former one.

-- 
http://www.fastmail.fm - The way an email service should be



More information about the SlackBuilds-users mailing list