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

2023-10-12php开发问题
0

本文介绍了如何为特定文件夹设置 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 权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

PHP实现DeepL翻译API调用
DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以...
2025-08-20 php开发问题
168

PHP通过phpspreadsheet导入Excel日期数据处理方法
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的...
2024-10-23 php开发问题
287

mediatemple - 无法使用 codeigniter 发送电子邮件
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)...
2024-08-23 php开发问题
11

Laravel Gmail 配置错误
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)...
2024-08-23 php开发问题
16

将 PHPMailer 用于 SMTP 的问题
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)...
2024-08-23 php开发问题
4

关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)...
2024-08-23 php开发问题
17