新添加的文件获取权限错误
我正在运行本地 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明 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:
Source: http://www.wampserver.com/phorum/read.php?2,43642