Closed
Description
Problem
When trying to publish my crate:
PS C:\repos\tensorism> cargo publish -vv
Updating crates.io index
Packaging tensorism v0.1.0 (C:\repos\tensorism)
Archiving
error: failed to prepare local package for uploading
Caused by:
failed to open for archiving: `C:\repos\tensorism`
Caused by:
Access is denied. (os error 5)
Notes
I tried to publish it from a friend's machine, suspecting the problem was related to something about my local environment but I got exactly the same error.
Version
cargo 1.67.0-nightly (f6e737b1e 2022-12-02)
release: 1.67.0-nightly
commit-hash: f6e737b1e3386adb89333bf06a01f68a91ac5306
commit-date: 2022-12-02
host: x86_64-pc-windows-msvc
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.86.0-DEV (sys:0.4.59+curl-7.86.0 vendored ssl:Schannel)
os: Windows 10.0.19045 (Windows 10 Pro) [64-bit]