Skip to content
Snippets Groups Projects
Commit f7c56801 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: warn if world writable directories are found

parent dd033763
No related branches found
No related tags found
No related merge requests found
...@@ -558,6 +558,12 @@ prepare_subpackages() { ...@@ -558,6 +558,12 @@ prepare_subpackages() {
warning "Found /usr/share/locale" warning "Found /usr/share/locale"
warning "Maybe add \$pkgname-lang to subpackages?" warning "Maybe add \$pkgname-lang to subpackages?"
fi 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() { default_lang() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment