bagit-python
bagit-python copied to clipboard
Alternate method of making temp data folder to account for domain-joined windows accounts #193
This is a fix for #193 and uses an alternative method (os.mkdir) instead of tempfile.mkdtemp to work correctly with domain-joined windows accounts with regards to permissions. I'm very open to any other methods of working around this issue!
It could be good to hear from @edsu as some tempfile issues arose before regarding permissions: https://github.com/LibraryOfCongress/bagit-python/issues/22 and this was the commit that introduced tempfile https://github.com/LibraryOfCongress/bagit-python/commit/a7c44b59e8ceded4df9bccbac6d3c5895c4aa1af in order to fix this issue around bag.save() https://github.com/LibraryOfCongress/bagit-python/issues/29