diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-13 09:44:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-13 13:49:25 +0000 |
commit | f7c56801e962c39eac84dcde40c219f6abb0e09b (patch) | |
tree | 2d278b0ff6a9ecd82ee5bc93794f5c7d98d69722 /abuild.in | |
parent | dd033763de7ada2831b483c2704939c9dd4db97a (diff) | |
download | abuild-f7c56801e962c39eac84dcde40c219f6abb0e09b.tar.gz abuild-f7c56801e962c39eac84dcde40c219f6abb0e09b.tar.bz2 abuild-f7c56801e962c39eac84dcde40c219f6abb0e09b.tar.xz abuild-f7c56801e962c39eac84dcde40c219f6abb0e09b.zip |
abuild: warn if world writable directories are found
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -558,6 +558,12 @@ prepare_subpackages() { warning "Found /usr/share/locale" warning "Maybe add \$pkgname-lang to subpackages?" fi + # check directory permissions + i=$(find "$pkgdir" -type d -perm -777 | sed "s|^$pkgdir|\t|") + if [ -n "$i" ]; then + warning "World writeable directories found:" + echo "$i" + fi } default_lang() { |