[Slackbuilds-users] More 14.0 prep...

Robby Workman rworkman at slackbuilds.org
Thu Sep 13 22:36:46 UTC 2012


On Thu, 13 Sep 2012 19:10:27 +0700
Binh Nguyen <binhnguyen at fastmail.fm> wrote:

> 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.


I like that one better too, but I think there was some corner case
that volkerdi found where it didn't do the same thing.  Perhaps your
line is slightly different than what we had though...

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20120913/a57a57d1/attachment.asc>


More information about the SlackBuilds-users mailing list