VPS侦探论坛

 找回密码
 注册
查看: 2905|回复: 1

lnmp1.4增加虚拟主机后,给目录加权限,报错

[复制链接]
发表于 2018-3-4 10:31:17 | 显示全部楼层 |阅读模式

wwwroot下有个hd2pt.com目录
  1. [root@localhost wwwroot]# ls
  2. default  hd2pt.com
  3. [root@localhost wwwroot]# chown www:www -R hd2pt.com
  4. chown: 正在更改"hd2pt.com/.user.ini" 的所有者: 不允许的操作
  5. [root@localhost wwwroot]# chattr -i
  6. Usage: chattr [-RVf] [-+=aAcCdDeijsStTu] [-v version] files...
  7. [root@localhost wwwroot]# chown www:www -R hd2pt.com
  8. chown: 正在更改"hd2pt.com/.user.ini" 的所有者: 不允许的操作
  9. [root@localhost wwwroot]# chown -R www  hd2pt.com
  10. chown: 正在更改"hd2pt.com/.user.ini" 的所有者: 不允许的操作
  11. [root@localhost wwwroot]# sudo chown -R www  hd2pt.com
  12. chown: 正在更改"hd2pt.com/.user.ini" 的所有者: 不允许的操作
  13. [root@localhost wwwroot]# sudo chown www:www hd2pt.com -R
  14. chown: 正在更改"hd2pt.com/.user.ini" 的所有者: 不允许的操作
复制代码



现在没有办法更改hd2pt.com目录权限,请问怎么解决,谢谢
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2018-3-4 14:04:10 | 显示全部楼层

回复 1# 的帖子



这个没有影响的
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 13:25 , Processed in 0.024990 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表