fixup flags
filter by allowed filetype in copier loop
fix ACL copying failure
avoid need for extra element in static array