Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在不使用审计日志模块的情况下为 Samba 共享添加一些基本的责任。如果文件由 user1:usergroup 拥有并且 user2 编辑它,所有权状态是否可以自动更改为 user2:usergroup?
如果文件被编辑,Samba 不能自动为您更改文件的所有权。可以编写一个可以为您执行此操作的 Samba VFS 插件,但此时您最好设置审计模块。