简体   繁体   English

如何递归地将文件夹及其所有子文件夹和文件设置为 drwxrwxrwx

[英]How do I recursively set a folder and all of its subfolders and files to drwxrwxrwx

How do you I set the option "drwxrwxrwx" for a certain folder and all of its subfolders and all files in all subdirs?你如何为某个文件夹及其所有子文件夹和所有子目录中的所有文件设置选项“drwxrwxrwx”?

I want to set these files and folders to the maximum allowed for my user.我想将这些文件和文件夹设置为我的用户允许的最大值。

Thank you!谢谢!

chmod -R 777 folder_path

If there is a permission error to the folder, use sudo chmod -R 777 folder_path如果文件夹有权限错误,使用sudo chmod -R 777 folder_path

暂无
暂无

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

相关问题 如何以文件夹及其子文件夹的形式递归复制文件作为符号链接 - How to recursively copy files under a folder and its subfolders as symbolic links 如何递归访问和删除sh中有空格的特定文件夹中的所有文件? - How do I recursively visit and delete all files in a particular folder which has spaces in sh? 如何基于正则表达式递归查找当前文件夹和子文件夹中的所有文件 - How can I recursively find all files in current and subfolders based on regular expressions 如何根据通配符匹配递归查找当前文件夹和子文件夹中的所有文件? - How can I recursively find all files in current and subfolders based on wildcard matching? 如何监控包含所有子文件夹和文件的文件夹? - How to monitor a folder with all subfolders and files inside? 将.gz文件从子文件夹解压缩(递归)到根文件夹中 - Decompress .gz files from subfolders (recursively) into root folder 如何删除//当前文件夹和子文件夹中所有文件中的注释行? - How to delete // comment lines in all files in current folder and subfolders? 消除子文件夹,将所有文件移动到一个文件夹中 - Eliminating subfolders to move all files into one folder 在文件夹和子文件夹中查找所有文件的另一种方法 - Alternative way to find all files in a folder and subfolders 如何递归删除文件夹中与给定模式不匹配的所有文件 - How to recursively delete all files in folder that dont match a given pattern
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM