在 Debian 中设置 ACL 的问题。为什么会出现此错误?

Issue with setting ACL in Debian. Why am I getting this error?

我正在尝试将一个文件夹设置为自动使其中的所有文件夹都可由 nogroup 写入和执行。我的以下命令有什么错误?

root@debian:/opt/nzbget/downloads# sudo setfacl -R -d -m  nobody:nogroup:rx completed
setfacl: Option -m Invalid argument near character 8

我也试过了

root@debian:/opt/nzbget/downloads# sudo setfacl -Rdm  nobody:nogroup:rx completed
setfacl: Option -m: Invalid argument near character 6

我在哪里阅读了 ACL https://www.geeksforgeeks.org/access-control-listsacl-linux/

感谢任何帮助

尝试:

setfacl -R -d -m u:nobody:rwX completed
setfacl -R -d -m g:nogroup:rwX completed

此外,由于您是 root,因此不需要 sudo。