How to set 777 permission on a particular folder?(如何为特定文件夹设置 777 权限?)
问题描述
如何设置文件夹的 777 权限.
How to set 777 permission on folder.
- 我需要将以下文件夹的权限设置为 777:adminincludesmodule_installation
我不知道如何在窗口 7 中的特定文件夹上设置权限 777??
I do no idea how to set the permission 777 on particular folder in window 7??
请帮我如何设置?我使用的是 Windows 7.
Please help me how can I set it? I am using windows 7.
推荐答案
777 是基于 Unix 的系统中的权限,具有对所有者、组和所有人的完全读/写/执行权限.我们将此权限授予在网络服务器上不需要对公众隐藏的资产,例如图像..
777 is a permission in Unix based system with full read/write/execute permission to owner, group and everyone.. in general we give this permission to assets which are not much needed to be hidden from public on a web server, for example images..
您说我使用的是 Windows 7. 如果这意味着您的 Web 服务器是基于 Windows 的,那么您应该登录该服务器并右键单击该文件夹并将权限设置为 everyone 如果您使用的是 Windows 客户端并且服务器是基于 unix/linux 的,则使用一些 ftp 软件并在父目录中右键单击并更改文件夹的权限.
You said I am using windows 7. if that means that your web server is Windows based then you should login to that and right click the folder and set permissions to everyone and if you are on a windows client and server is unix/linux based then use some ftp software and in the parent directory right click and change the permission for the folder.
如果您也希望在 sub-directories 上设置权限,那么通常他们可以选择递归地设置权限.
If you want permission to be set on sub-directories too then usually their is option to set permission recursively use that.
而且,如果您想从命令行执行此操作,请使用 putty 并登录到服务器并转到父目录 includes 并编写以下命令
And, if you feel like doing it from command line the use putty and login to server and go to the parent directory includes and write the following command
chmod 0777 module_installation/
用于递归
chmod -R 0777 module_installation/
希望对你有帮助
这篇关于如何为特定文件夹设置 777 权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何为特定文件夹设置 777 权限?
基础教程推荐
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何替换eregi() 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
