首页 > 解决方案 > 发现:在 Ubuntu Server 18.4 中缺少 `-exec' 的参数

问题描述

我得到了一个命令的帮助,但它似乎不起作用。这是命令:

find /var/www/HernandezW/wordpress/ -type d -exec chmod 750 {}\;

shell 返回错误信息:

find: missing argument to `-exec'

如何修复它以安装 WordPress?

标签: linuxwordpressubuntuserver

解决方案


尝试在之后添加空格{}

find /var/www/HernandezW/wordpress/ -type d -exec chmod 750 {} \;

推荐阅读