File: fix-permissions.sh

package info (click to toggle)
tuxpaint-stamps 2009.06.28-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 75,000 kB
  • ctags: 15
  • sloc: makefile: 188; python: 99; sh: 63; objc: 7
file content (7 lines) | stat: -rwxr-xr-x 159 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
#!/bin/sh

echo "...Setting proper file permissions... (in $1)"
echo
chmod -R a+rX,g-w,o-w "$1"stamps
find "$1"stamps -type f -perm 755 -exec chmod 644 {} \;