c4milo / unpackit

Go package to natively decompress and unarchive tar.gz, tar.bzip2, tar.xz, zip and tar files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Permissions error on Windows

StarpTech opened this issue · comments

2018/01/18 22:15:18 warn: failed setting file permissions for "C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\LICENSE": &os.PathError{Op:"chmod", Path:"C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\LICENSE", Err:0x20000082}
2018/01/18 22:15:18 warn: failed setting file permissions for "C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\README.md": &os.PathError{Op:"chmod", Path:"C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\README.md", Err:0x20000082}
2018/01/18 22:15:18 warn: failed setting file permissions for "C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\butler.yml": &os.PathError{Op:"chmod", Path:"C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\butler.yml", Err:0x20000082}
2018/01/18 22:15:18 warn: failed setting file permissions for "C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\butler.exe": &os.PathError{Op:"chmod", Path:"C:\\Users\\dustin\\AppData\\Local\\Temp\\unpackit-371127154\\butler.exe", Err:0x20000082}

I also tried it with "Run as Administrator" in Windows 10 but it doesn't work.

Still working, can be ignored on windows

right, I saw it was a warning. It is noisy nonetheless. I don't have a lot of time these days. If you want to give it a try, I'm happy to offer guidance.

It's fine but it would be great to make it less verbose.