Skip to content
Snippets Groups Projects
Commit 7b2e1e98 authored by Haarst, Jan van's avatar Haarst, Jan van
Browse files

change ownership on extracting

parent f76de558
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ lockfile=$data_dir"/update_is_running.lock"
accept_list=${SCRIPT_LOCATION}/rsync_include.txt
reject_list=${SCRIPT_LOCATION}/rsync_exclude.txt
rsync_options="--times --stats --copy-unsafe-links -z --compress-level=1 --log-file="${logfile}" --include-from="${accept_list}" --exclude-from="${reject_list}
tar_options="--use-compress-program=pigz --keep-newer-files --directory=${extracted_dir} -xvf"
tar_options="--use-compress-program=pigz --keep-newer-files --no-same-owner --directory=${extracted_dir} -xvf"
# make the needed directories
mkdir -p $data_dir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment