在 Windows 7 上使用 gzip 解压缩文件会生成没有读取权限的文件
我正在尝试使用 Windows 7 中的 GnuWin32 gzip 程序解压缩 .gz 文件。我对压缩文件拥有完全权限,并且我的用户帐户是管理员。但是,我最终没有解压文件的读取权限。要获得读取权限,我必须通过右键单击并选择“属性”>“手动更改其权限”。安全。我能够在 Windows XP 中执行完全相同的操作,并且没有任何权限问题,这使我相信 Windows 7 的用户帐户控制系统导致了问题。有谁知道我可以做些什么来让 Windows 7 中的事情按我的预期工作(解压缩文件的读取权限)?
谢谢。
I am attempting to decompress a .gz file using the GnuWin32 gzip program in Windows 7. I have full permissions on the compressed file, and my user account is an administrator. However, I end up not having read permissions on the decompressed file. To get read permissions I would have to manually change the permissions on it through right-clicking and selecting Properties > Security. I am able to do this exact same thing with no permission problems in Windows XP, which leads me to believe that Windows 7's user account control system is causing problems. Does anyone know what I can do to make things work as I would expect (read permission on the decompressed file) in Windows 7?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要使用 GnuWin32 有什么原因吗?我强烈推荐 7-zip,甚至比 WinRAR 更推荐。它是免费的,我用它来做所有事情,甚至是 ISO。几乎没有任何东西它不能正确存档或解压缩。我通常使用 .tar.gz 格式:)
请注意,如果您使用的是 x64,请使用 x64 版本。据了解,有些人在 x64 Windows 上使用 x86 时会遇到错误。
我假设这是一个答案,因为我知道它会处理您的权限问题,并且您没有指定任何需要使用其他应用程序的原因。干杯! :)
Is there some reason you need to use GnuWin32? I highly recommend 7-zip, even more than WinRAR. It's free, and I use it for everything, even ISOs. There's hardly anything it won't archive or decompress properly. I generally use the .tar.gz format with it :)
One note, if you're on x64, use the x64 version. Some people have been known to experience bugginess using the x86 on x64 Windows.
I'll assume this is an answer since I know for a fact it will deal with your permissions issues, and since you didn't specify any reason why you needed to use the other app. Cheers! :)