如何给崇高文本3写入权限在Web服务器的DocumentRoot文件? [英] How to give Sublime Text 3 write permission to files in web server's DocumentRoot?

查看:334
本文介绍了如何给崇高文本3写入权限在Web服务器的DocumentRoot文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用做一些本地开发的操作系统Mac OS X和不希望改变Apache的,这就是 /库/ Web服务器/文件/

I use mac os x operating system for doing some local development and don't want to change the default document root of Apache, which is /Library/WebServer/Documents/

我把我的项目,该目录下。但是,在编辑文件时,文崇高通常要求密码保存更改。如果没有这些项目转移到一个不太受保护的位置,哪能让崇高文字来访问这些文件夹和文件具有完全的权限?怎么样改变所有者组的东西,加入崇高文成该组? Apache用户也必须在该组中,以便允许它做的文件操作?另一种选择,可以将崇高的文本为 _www 组和 CHOWN ING文档根目录的 _www 组?

I put my projects under that directory. But when editing files, Sublime Text usually asks for password saving the changes. Without moving the projects to a less protected location, how can I let Sublime Text to access those folders and files with full permission? What about changing the owner group to something and adding Sublime Text into that group? Apache user also must be in that group in order to allow it do file operations? Another option could be adding Sublime Text to _www group and chown'ing document root for _www group?

推荐答案

非命令行是:


  • 开启搜索

  • 转到文件夹

  • 右键点击

  • 获取信息

  • 有一个共享与放大器;权限区域

  • 如果一切都是灰色的了,只要点击挂锁

  • 点击加号

  • 添加您的Mac用户

  • 设置读取和放大器;写权限

完成。崇高的文字现在可以保存的东西。

Done. Sublime text can save stuff now

这篇关于如何给崇高文本3写入权限在Web服务器的DocumentRoot文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆