linux - 如何在 Linux 终端中设置默认值 'chmod'?

标签 linux permissions filesystems chmod

上一个问题只是为了了解我在做什么: How to change permissions for a folder and its subfolders/files in one step

因此,如果我将 chmod 更改为 755 for chmod 75/opt/lampp/htdocs 并重新启动系统,我希望文件位于 chmod 755

最佳答案

设置后,Linux 文件系统权限不会因重新启动系统而受到影响,除非您在启动时运行了一些非标准软件,这些软件会返回将它们更改为默认值。

关于linux - 如何在 Linux 终端中设置默认值 'chmod'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3740187/

相关文章:

linux - 当我的列表中没有文件时的情况

c++ - SDL_image 无法使用 IMG_LoadTexture() 加载 .png 文件

git - 错误 : unable to unlink old 'gulpfile.js' (Permission denied) while using Docker Compose for development environment

.net - VB.NET 模块 - 我可以在访问 pub 时强制使用 <Module_Name>.Public_Member_Name 吗?成员(member)?

file - Blackberry 上的最大文件名长度

php - public_html 上面图片的存储和读取

linux - 无法运行 `make` 命令

linux - 保持 X11 应用程序处于事件状态,我可以断开连接并随后重新连接

ios - (BOOL)openSessionWithAllowLoginUI :(BOOL)allowLoginUI is never called

linux - EXT3 文件系统预摘要 Material