I want to add some basic accountability to a Samba share without going all out with the audit logging module. If a file is owned by user1:usergroup and user2 edits it, is it possible for the ownership status to change automatically to user2:usergroup?
Asked
Active
Viewed 650 times
2
-
Took me a whole hour to find someone with the same need, all search results are showing the opposite (masking etc) – Prof Nov 12 '15 at 10:14
1 Answers
2
Samba can't automatically change the ownership of the file for you if it's edited. It would be possible to write a Samba VFS plugin that can do this for you, but at that point you're probably better off setting up the audit module.

jelmer
- 2,405
- 14
- 27
-
That sucks... I want to use this on my dev servers so that when developers write files, they change ownership and repository auto-commit scripts identify the users accordingly in any revision change etc. Since this is 4 years old, any change since then? – Prof Nov 12 '15 at 10:16
-
1