Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dwhitenist opened this issue Aug 17, 2022 · 1 comment

Comments

@dwhitenist
Copy link

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.

@kba
Copy link
Contributor

kba commented Aug 18, 2022

Can you share the error message?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants