Skip to content

Commit

Permalink
PoolManager : stage protection, fix error in stage.fragment
Browse files Browse the repository at this point in the history
Motivation:

It has been noticed that setting properties:
  dcache.authz.staging.pep=PoolManager
  dcache.authz.staging=/path/to/stage/configuration/file.conf
did not have any effect on ability to perform staging.
The issue has been traced to an error in stage.fragment.

Modification:

A fix to environment variable handling in stage.fragment.

Result:

Stage protection gets enabled.

    Acked-by: Albert Rossi <arossi@fnalgov>
    RB: https://rb.dcache.org/r/9876/
    Target: master
    Request: 3.0
    Request: 2.16
    Request: 2.15
    Request: 2.14
    Request: 2.13
    Request: 2.10
(cherry picked from commit fa7b0fb)
  • Loading branch information
DmitryLitvintsev committed Nov 2, 2016
1 parent 194d914 commit 07b4153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skel/share/cells/stage.fragment
Expand Up @@ -8,7 +8,7 @@ end
onerror shutdown
check ${0}.authz.staging.pep
onerror continue
eval "${0}.authz.staging.pep" "${1}" !=
exec env stage-disable-pep.exe -ifok
eval ${${0}.authz.staging.pep} "${1}" ==
exec env stage-disable-pep.exe -ifnotok
onerror shutdown

0 comments on commit 07b4153

Please sign in to comment.