Maison  >  Questions et réponses  >  le corps du texte

文件权限 - Linux:如何设置用户在特定目录下创建文件的默认用户组?

比如,一个用户在 git, ftp 两个组里面,
如何让该用户(tony) 在 /home/git 目录下创建的文件 owner 为 tony:git 或者 git:git ,
并且在 /home/ftp/ 目录下创建文件的 owner为 tony:ftp或者ftp:ftp。

PHPzPHPz2743 Il y a quelques jours859

répondre à tous(1)je répondrai

  • 巴扎黑

    巴扎黑2017-04-17 11:47:21

    请参考这里 http://askubuntu.com/questions/51951/set-default-group-for-user-when-they-create-new-files

    répondre
    0
  • Annulerrépondre