Permission denied when I output a process

Asked by Edoardo Iannucci

Hi, I start using MadGraph this week so I'm a beginner and I'm trying to generate the following process

g g > t t t~ t~

but when I try to output the results of the process on a directory named "4 top" (and I overwrite it) this message appears on my terminal:

Command "output 4top" interrupted with error:
PermissionError : [Errno 13] Permission denied: '/mnt/c/Users/Utente/Documents/UNIVERSITA/tesi/MG5/MG5_aMC_v3_5_0/4top'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

Thanks for your help!

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Olivier Mattelaer
Solved:
Last query:
Last reply:

This question was originally filed as bug #2025533.

Revision history for this message
Edoardo Iannucci (edoiannu) said :
#1

Hi, I start using MadGraph this week so I'm a beginner and I'm trying to generate the following process

g g > t t t~ t~

but when I try to output the results of the process on a directory named "4 top" (and I overwrite it) this message appears on my terminal:

Command "output 4top" interrupted with error:
PermissionError : [Errno 13] Permission denied: '/mnt/c/Users/Utente/Documents/UNIVERSITA/tesi/MG5/MG5_aMC_v3_5_0/4top'
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.

Thanks for your help!

Revision history for this message
Best Olivier Mattelaer (olivier-mattelaer) said :
#2

Permission denied is a unix error which has nothing to do with MG5aMC.
This means that you are not allowed to create (or remove or edit) the file/directory
/mnt/c/Users/Utente/Documents/UNIVERSITA/tesi/MG5/MG5_aMC_v3_5_0/4top

I guess that if you try to do
rm -rf 4top
it will also crash with the same error.
Please investigate who is the owner of that directory and check with him if he can give you permission to overwrite the file.

Cheers,

Olivier

Revision history for this message
Edoardo Iannucci (edoiannu) said :
#3

Thanks Olivier Mattelaer, that solved my question.

Revision history for this message
marco zaro (marco-zaro) said :
#4

Hi,
I post this here for reference (since another student had the same issue).
It looks like being a problem specific to WSL.
It can be solved if one modifies the python source related to shutil, see

https://bugs.python.org/issue38633