8

请问有没有类似 g+s 的方式的特殊权限可以自动修改文件的 owner

 2 years ago
source link: https://www.v2ex.com/t/823005
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  Linux

请问有没有类似 g+s 的方式的特殊权限可以自动修改文件的 owner

  hzzhiyuan · 1 天前 · 427 次点击

假设有一个目录 a,它的 owner 是 user1,然后 user2 对这个目录有写权限,如果想让 user2 在 a 目录下创建的文件的 owner 自动变成 user1,不使用 chown,请问有没有大佬知道怎么实现


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK