【问题标题】:I have a directory1 in 02042013015 user and I want to change the ownership of he file to user19? How to do that?我在 02042013015 用户中有一个 directory1,我想将他的文件的所有权更改为 user19?怎么做?
【发布时间】:2017-08-09 05:18:05
【问题描述】:

我有两个用户,即 linux OS 中的 02042013015 和 user19。我有由 02042013015 用户创建的 directory1 文件夹,但现在我想将 directory1 的所有权更改为 user19。我怎样才能做到这一点?我做了如下截图所示:但我无法通过user19访问directory1。

【问题讨论】:

标签: linux centos7


【解决方案1】:

首先你应该登录'root': su - 然后输入你的root密码: Password:

第二次使用如下命令,如: chown user19:user19 /home/02042013015/your foldername

也许它会起作用

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-06-10
    • 1970-01-01
    • 1970-01-01
    • 2021-01-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-19
    相关资源
    最近更新 更多