Bug #10140
Failure to specify option argument can lead to overwritten input files
Status:
Rejected
Priority:
High
Assignee:
-
Category:
Application
Target version:
-
Start date:
09/14/2015
Due date:
% Done:
0%
Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
Description
If I have two root files:
file1.root file2.root
and suppose I want to just dump the configuration of a process that would merge the files. If I type:
art -c config.fcl --debug-config file1.root file2.root
that is equivalent to:
art -c config.fcl --debug-config=file1.root -s file2.root
thus overwriting file1.root with a text printout of the job configuration.
History
#1 Updated by Christopher Green over 5 years ago
- Category set to Application
- Status changed from New to Rejected
- SSI Package art added
- SSI Package deleted (
)
When the command line system was designed, this was recognized as a possible outcome of command-line specification mistakes, but the consulted experiments stated explicitly that this was an acceptable risk. Any change to mitigate this problem would be a breaking change, necessitating changes to scripts and use patterns.