如何为特定文件夹设置 777 权限?

2022-01-04 00:00:00 permissions php

如何设置文件夹的 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/

希望对你有帮助

相关文章