Permission problem while installing delphes in madgraph

Asked by Caue Evangelista on 2019-11-27

Hi, all!

I have MG5 v2.6.0 installed in my machine and I want to install Delphes. After using the "install Delphes" instruction I received some "Permission denied" messages:

MG5_aMC>install Delphes
   You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/MinBias.pileup’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example3.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example4.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_ATLAS.tcl’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_CMS.tcl’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.cpp’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example5.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/CaloGrid.cpp’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/ProcessingTime.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/DelphesBrowser.C’: Permission denied
rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/EventDisplay.C’: Permission denied

There's is a way in which I can perfom this instruction as a "sudo user" or something like that?

Thank you!!!

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2019-11-27
Last reply:
2019-11-28

Hi,

We do not support sudo/root installation.
You can technically run mg5 as sudo andf then type "install Delphes".
But this is fully at your own risk. (in the past "install update" was doing a "rm -rf /" command).
Obviously if you are going to try and that you face such huge issue do not hesitate to tell us and we will try to fix it for future version.

Cheers,

Olivier

> On 28 Nov 2019, at 00:08, Caue Evangelista <email address hidden> wrote:
>
> New question #686319 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/686319
>
> Hi, all!
>
> I have MG5 v2.6.0 installed in my machine and I want to install Delphes. After using the "install Delphes" instruction I received some "Permission denied" messages:
>
> MG5_aMC>install Delphes
> You are installing 'Delphes', please cite ref(s): arXiv:1307.6346.
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/MinBias.pileup’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example3.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example4.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_ATLAS.tcl’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/delphes_card_CMS.tcl’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example1.cpp’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/Example5.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/CaloGrid.cpp’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/ProcessingTime.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/DelphesBrowser.C’: Permission denied
> rm: cannot remove ‘/usr/local/apps/MG5_aMC_v2_6_0/Delphes/examples/EventDisplay.C’: Permission denied
>
>
>
> There's is a way in which I can perfom this instruction as a "sudo user" or something like that?
>
> Thank you!!!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Caue Evangelista for more information if necessary.

To post a message you must log in.