[Extract] Place the lock file next to the destination directory
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-12-01T14:02:06Z
https://github.com/huggingface/datasets/pull/5320#issuecomment-1333812498
https://api.github.com/repos/huggingface/datasets/issues/5320
IC_kwDODunzps5PgF0S
https://api.github.com/repos/huggingface/datasets/issues/comments/1333812498/reactions
2022-12-01T15:36:44Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1333812498
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
Previously it was placed next to the archive to extract, but the archive can be in a read-only directory as noticed in https://github.com/huggingface/datasets/issues/5295

Therefore I moved the lock location to be next to the destination directory, which is required to have write permissions