【发布时间】:2014-06-04 14:10:57
【问题描述】:
对于目录/var/www/ 及其子目录,我希望用户 apache、phped 和 Michael 各自对所有现有文件以及每个这些用户创建的未来文件具有 r/w/x 权限。我该怎么做?
【问题讨论】:
-
呃,
group怎么样? -
@Two-BitAlchemist。我目前正在做的是将 apache 添加到 phped 和 Michael 组,将 phped 添加到 apache 和 Michael 组,将 Michael 添加到 phped 和 apache 组。虽然它工作得很好,但很难维护。
标签: linux file file-permissions chmod