我想让用户能够在其他用户目录中创建、写入和读取文件,但没有在创建后删除文件的选项(粘性位在这里不起作用......)例如:
i have user : manager with directory repository
i have user : worker1 that need to write files to /manager/repository can't delete the files
i have user : worker2 that need to write files to /manager/repository can't delete the files
i have user : worker3 that need to write files to /manager/repository can't delete the files
但工人 1-2-3 创建后不能删除文件,只有经理和 root 可以删除工人 1 2 3 创建的文件。
我尝试了一些使用 stick bit 1 的 chown 和 chmod 技巧,但没有成功。