APKBUILD examples:Permissions

From Alpine Linux
Jump to: navigation, search

If the source files have strange permissions you can easily fix this in your APKBUILD.

# Fix subdir perms
find "$subpkgdir"/usr/share/doc/$pkgname/ -type d \
	-exec chmod 755 '{}' \; || return 1
find "$subpkgdir"/usr/share/$pkgname/ -type d \
	-exec chmod 755 '{}' \; || return 1