Fix recursive chown for pxf_automation
@@ -170,17 +170,9 @@ function _main() {
time make_cluster
time start_pxf $(pwd)/singlecluster
- # Let's make sure that the pxf_automation_src directory is writeable
- # Recusive chowning will hammer OverlayFS and introduce flakiness so we'll make
- # the directory structure writable by all
- local pxf_src_dir=pxf_infra_src/pxf_automation
- if [ -d "${pxf_src_dir}" ]
- then
- chmod a+w ${pxf_src_dir}
- find ${pxf_src_dir} -type d -exec chmod a+w {} \;
- fi
- #chowning the singlecluster else test will fail
- chown -R gpadmin:gpadmin singlecluster
+ # Let's make sure that pxf_automation/singlecluster directories are writeable
+ chmod a+w pxf_infra_src/pxf_automation singlecluster
+ find pxf_infra_src/pxf_automation/tinc* -type d -exec chmod a+w {} \;
time run_regression_test
time run_pxf_automation $(pwd)/singlecluster
}
