It would be good to reapply permissions from parent target directory. I suggest to add this (out of adding the respective define in config): ``` // Remove the TMP_DIR (depends on CLEAN_UP) if (RESTORE_ACL) { $commands['acls'] = sprintf( 'getfacl %s | sed -e "s/x$/X/" | setfacl -R --set-file=- %s' , TARGET_DIR , TARGET_DIR ); } ``` just after (in the post section) ``` // Remove the TMP_DIR (depends on CLEAN_UP) if (CLEAN_UP) { $commands['cleanup'] = sprintf( 'rm -rf %s' , TMP_DIR ); } ```
Activity