linux - 如何立即更改文件和文件夹的所有权

标签 linux shell owner file-ownership

在我的插件文件夹中,我上传了一些真正的 WordPress 插件。/httpdocs/wp-content/plugins 我需要将每个文件和文件夹的所有权从 48 48 更改为 10004 503,以免出现任何权利问题。我怎样才能做到这一点?

最佳答案

chown -R 10004:503/httpdocs/wp-content/plugins

关于linux - 如何立即更改文件和文件夹的所有权,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26277824/

相关文章:

javascript - 如何在 Rally 中显示缺陷所有者

linux - Docker 暂存图像未显示为 arm64

linux - 禁用后台进程终止通知

php - 代码点火器上的权限被拒绝

linux - 在 shell 中获取 YYYYMMDD_HHMMSS.csv.gz 格式的最新文件

python - 广泛使用 python 的 getattr 是不好的做法吗?

linux - shell 脚本 : Count returned from function is not correct

WPF ShowDialog 和 ElementHost

Linux内存分段

oracle - 将存储过程的权限授予另一个 Oracle 用户