-
Notifications
You must be signed in to change notification settings - Fork 22
Description
I got this error in powershell & CMD !
I'm the oner of folder and give modify permition to everyone !
[D:]# .\ChocolateStore.exe d:\choco https://chocolatey.org/packages/DellCommandUpdate/
Downloading:
Download Failed: https://chocolatey.org/packages/DellCommandUpdate/
System.UnauthorizedAccessException: Access to the path 'd:\choco' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at ChocolateStore.PackageCacher.DownloadFile(String url, String destination)
System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Ionic.Zip.ZipFile.get_ReadStream()
at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress)
at ChocolateStore.PackageCacher.CachePackage(String dir, String url)
at ChocolateStore.Program.Main(String[] args)