新添加的文件获取权限错误

发布于 2024-12-06 13:49:14 字数 467 浏览 8 评论 0原文

我正在运行本地 WAMP 服务器,并且刚刚在 Photoshop 中批量处理了一堆图像,并自动将它们保存到目录中。当我尝试从浏览器访问这些图像时,收到 403 错误。

尽管我还没有进行任何批处理,但在这台服务器上我还没有发生过这种情况。

我运行的是 Windows 7 Professional,并且尝试向所有用户全面授予这些图像的完全访问权限,但我仍然遇到同样的 Apache 错误。我的日志如下所示:

[Tue Sep 27 15:02:37 2011] [error] [client 127.0.0.1] (OS 5)访问被拒绝。 :文件权限拒绝服务器访问:C:/wamp/www/site/img/4142.jpg,引用地址:http:// /site.local/index.html

我做错了什么?

I'm running a local WAMP server and have just batch-processed a bunch of images in Photoshop, automatically saving them to a directory. When I try to access these images from my browser, I get a 403 error.

This has not yet happened to me on this server, though I have not yet done any batch processing.

I'm running Windows 7 Professional, and I've tried giving full-access to all users across-the-board for these images, but I'm still getting this same Apache error. Here's what my logs look like:

[Tue Sep 27 15:02:37 2011] [error] [client 127.0.0.1] (OS 5)Access is denied. : file permissions deny server access: C:/wamp/www/site/img/4142.jpg, referer: http://site.local/index.html

What am I doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

假面具 2024-12-13 13:49:15

事实证明 Windows 出于某种原因正在加密这些文件。这就是帮助我解决这个问题的原因:

我注意到资源管理器中的所有文件名都是用绿色编写的。
经过一番挖掘后,发现它们是加密的,所以我
关闭它们的加密,现在一切都很好!

要禁用解密,请选择您的文件,右键单击并转到
属性,然后在“常规”下转到“高级”并删除
勾选“加密文件内容”。文件名将变成
回到黑色,一切都很好

来源:http://www.wampserver.com /phorum/read.php?2,43642

Turns out Windows was encrypting these files for some reason. This is what helped me solve this:

I noticed that all my file-names in Explorer were written in Green.
After a bit of digging around, it turns out they were encrypted, so I
turned encryption off on them and everything's good now!

In order to disable decryption, select your files, right-click and go
to properties, and under "General" go to "Advanced" and remove the
tick that says "Encrypt File Contents". The file-names will then turn
back to black, and everything was fine

Source: http://www.wampserver.com/phorum/read.php?2,43642

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文