[Slackbuilds-users] Changing some odd permissions in a tarball.

Dave Margell dmargell at gmail.com
Sat Sep 8 15:14:36 UTC 2012


Hi list,

I want to change a bit of our template code to this:

# change directory permissions (700 to 755) of bin, doc, udiskie
# as well as the parent directory to allow a user to browse the source tree.
find .. \
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o
-perm 700 \) \
 -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o
-perm 400 \) \
 -exec chmod 644 {} \;

Where I've added an extra "dot" to the "find" command and also added "
-o -perm 700 "
to the list of permissions to change.

Source in question is:
https://bitbucket.org/byronclark/udiskie/downloads/udiskie-0.4.1.tar.gz

Acceptable to the admins or not?

Thanks!

Dave.


More information about the SlackBuilds-users mailing list