扫码关注官方订阅号
比如,一个用户在 git, ftp 两个组里面, 如何让该用户(tony) 在 /home/git 目录下创建的文件 owner 为 tony:git 或者 git:git , 并且在 /home/ftp/ 目录下创建文件的 owner为 tony:ftp或者ftp:ftp。
学习是最好的投资!
请参考这里 http://askubuntu.com/questions/51951/set-default-group-for-user-when-they-create-new-files
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
请参考这里 http://askubuntu.com/questions/51951/set-default-group-for-user-when-they-create-new-files