bagit-python icon indicating copy to clipboard operation
bagit-python copied to clipboard

Python error in bagit.py using os.chmod() on Windows 10 WSL Ubuntu 20.04

Open dwhitenist opened this issue 3 years ago • 1 comments

I'm using Windows 10, running in WSL Ubuntu 20.04, with python3, pip3, all prequisites seeming fine. In bagit.py, I'm getting an error at the line os.chmod("data", os.stat(cwd).st_mode) and I have not been able to find a decent fix that retains the intent of the code. I can comment the line out, and get through a run without errors, but that is suboptimal. This may be out of scope for a fix, but I wanted to note it. Thank you.

dwhitenist avatar Aug 17 '22 20:08 dwhitenist

Can you share the error message?

Also, consider whether the remedies listed here might fix the problem.

kba avatar Aug 18 '22 08:08 kba