Warning: Undefined property: stdClass::$slug in /www/wwwroot/coyis.com/it/wp-admin/includes/plugin-install.php on line 468
磁盘配额(quota)权限不够解决方法 - Song It

磁盘配额(quota)权限不够解决方法

磁盘配额不生效的,显示错误及权限不够。是因为 SELinux打开的原因,在这里简单的处理方法是将SELinux的强制模式( Enforcing)转换成宽容模式(permissive),不需要关闭的。

[bash autolinks=”false” classname=”myclass” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”true” title=”example-filename.php”][root@www ~]# setenforce [0|1] [/bash]

选顷不参数: 0 :转成 permissive 宽容模式; 1 :转成 Enforcing 强制模式

范例一:

将 SELinux 在 Enforcing 与 permissive 之间切换,观察

[bash autolinks=”false” classname=”myclass” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”true” title=”example-filename.php”][root@www ~]# setenforce 0
[root@www ~]# getenforce Permissive
[root@www ~]# setenforce 1
[root@www ~]# getenforce Enforcing[/bash]

未经允许不得转载:Song It » 磁盘配额(quota)权限不够解决方法

相关文章

评论 (0)