简体   繁体   English

特立独行的localhost接受一个文件,拒绝该文件的调整版本

[英]localhost on mavericks accepts one file, denies an adjusted version of same

Recently set up localhost web Apache2 web server on my mac running mavericks for testing. 最近在运行特立独行的Mac上设置了localhost web Apache2 Web服务器进行测试。 Everything went smoothly (site up and running, page rendering correctly) until I added a revised version of the html file to the site. 一切都进行得很顺利(网站正常运行,页面呈现正确),直到我向网站添加了html文件的修订版。 The original file runs fine (some D3 data visualization code) but the revised file results in a "permission denied" error. 原始文件运行良好(某些D3数据可视化代码),但是修改后的文件将导致“权限被拒绝”错误。 I'd post the full code for both files, but prob too long and person helping with dev is convinced it's not an issue with the file, but one with my sys config. 我将发布这两个文件的完整代码,但是prob的时间过长,开发人员帮助确信该文件不是问题,而是我的sys config。 Guidance most appreciated. 指导最受赞赏。

This turned out to be a permissions issue on the updated html file. 原来这是更新的html文件的权限问题。 Went to file info and adjusted permissions to match the original html file and it worked. 去文件信息和调整权限以匹配原始的html文件,它可以工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM