Skip to content
Snippets Groups Projects
Commit 4ea9b5c0 authored by Steven Murray's avatar Steven Murray
Browse files

Changed user of eos rm to root

parent 48bafdec
Branches
Tags
No related merge requests found
......@@ -198,7 +198,7 @@ if [[ $REMOVE == 1 ]]; then
# recount the files on tape as the workflows may have gone further...
INITIALFILESONTAPE=$(admin_cta archivefile ls --all | grep ${EOS_DIR} | wc -l)
echo "Before starting deletion there are ${INITIALFILESONTAPE} files on tape."
eos root://${EOSINSTANCE} rm -Fr ${EOS_DIR} &
XrdSecPROTOCOL=sss eos -r 0 0 root://${EOSINSTANCE} rm -Fr ${EOS_DIR} &
EOSRMPID=$!
# wait a bit in case eos prematurely fails...
sleep 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment