找回密码
 骑士注册

QQ登录

微博登录

搜索
❏ 站外平台:

tag 标签:

相关手册

  • chown - change file owner and group

    chown [OPTION]... [OWNER][:[GROUP]] FILE...
           chown [OPTION]... --reference=RFILE FILE...
    This manual page documents the GNU version of chown.  chown changes the
           user and/or group ownership of each given file.  If only  an  owner  (a
           user  name or numeric user ID) is given, that user is made the owner of
           each given file, and the files' group is not changed.  If the owner  is
           followed  by  a  colon  and a group name (or numeric group ID), with no
  • chown, fchown, lchown - change ownership of a file

    #include <unistd.h>
    
           int chown(const char *path, uid_t owner, gid_t group);
           int fchown(int fd, uid_t owner, gid_t group);
           int lchown(const char *path, uid_t owner, gid_t group);
    These system calls change the owner and group of a  file.   The  differ
           only in how the file is specified:
    
           * chown() changes the ownership of the file specified by path, which is
             dereferenced if it is a symbolic link.

相关文章

  • chown 命令简介

    学习如何使用 chown 命令更改文件或目录的所有权。

    2019-10-03 00:01     Alan Formy-duval, wxy

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。