linux - 更改所有权期间参数无效

标签 linux ubuntu permissions ownership

我想更改文件的所有权。我以 root 身份执行了此命令:

chown test:test make_import.py

我收到此错误:

chown: changing ownership of ‘make_import.py’: Invalid argument

我在网络上找不到明确的解决方案。 感谢您的任何提示。

最佳答案

该文件很可能位于远程/已安装的文件系统上。您可以使用“df”或“mount”命令检查吗?如果它是远程文件系统,则安装选项可能不允许更改文件。

关于linux - 更改所有权期间参数无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44431899/

相关文章:

android - 如何获取Android权限的图标?

macos - Mac OS X 下 Apache 2 站点文件/文件夹的所有者/组/权限是否正确?

php - 当我点击链接时 mod_rewrite 页面名称两次

linux - TCP 发送队列卡住

ruby-on-rails - 须藤标准输出 : unicorn_appname_production: unrecognized service

facebook - 我将如何处理此 Facebook 提醒?关于权限

共享文件夹中的 Linux 应用程序文件路径位置 [Java 应用程序]

php - 检查运行 Amazon Linux 的 EC2 实例中的 php 错误日志

linux - docker push to nexus 3 - 校验和摘要格式无效

email - 是否可以在 Postfix 上使用其 ID 阅读电子邮件?