550 Create directory operation failed

往Linux系统中上传文件时候,我们经常会使用FTP连接Linux,也经常会使用mkdir命令来创建目录。最近发现用mkdir创建目录时提示550 Create directory operation failed(创建目录失败)。需要改一个配置文件即可。

[root@cc ~]# vi /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=enforcing  将此处的默认值改成disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

然后重启服务器

posted @ 2016-01-19 14:01  贱书生  阅读(6581)  评论(0编辑  收藏  举报