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

Changed user of eos rm to root

parent 2de57497
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment