I can not say what is your problem. I can see if the file is accessed by another user (used direct sharing but I don’t think there is a difference).
- create test file
audit log test.odt
as user willi - share the file with user test7
- edit the file as user test7
- review audit log (I prefer jq parsing for better readability)
tail -n 100 audit.log|grep 'audit log test'|jq "[.time, .user, .message]|@csv"
- file access and modification is visible:
"\"2024-05-03T08:50:23+00:00\",\"willi\",\"File accessed: \"\"/Documents/audit log test.odt\"\"\""
"\"2024-05-03T08:50:32+00:00\",\"willi\",\"The file \"\"/willi/files/Documents/audit log test.odt\"\" with ID \"\"136836\"\" has been shared to the user \"\"test7\"\" with permissions \"\"19\"\" (Share ID: 31)\""
"\"2024-05-03T08:50:57+00:00\",\"test7\",\"Preview accessed: \"\"_versions/Documents/audit log test.odt.v1714726159\"\" (width: \"\"44\"\", height: \"\"44\"\" crop: \"\"1\"\", mode: \"\"fill\"\")\""
"\"2024-05-03T08:50:57+00:00\",\"test7\",\"File accessed: \"\"/test7/files/audit log test.odt\"\"\""
"\"2024-05-03T08:50:58+00:00\",\"--\",\"File accessed: \"\"/audit log test.odt\"\"\""
"\"2024-05-03T08:51:17+00:00\",\"test7\",\"File accessed: \"\"/test7/files/audit log test.odt\"\"\""
"\"2024-05-03T08:51:17+00:00\",\"--\",\"File accessed: \"\"/audit log test.odt\"\"\""
"\"2024-05-03T08:51:33+00:00\",\"test7\",\"File accessed: \"\"/test7/files/audit log test.odt\"\"\""
"\"2024-05-03T08:51:33+00:00\",\"--\",\"File accessed: \"\"/audit log test.odt\"\"\""
"\"2024-05-03T08:51:50+00:00\",\"test7\",\"File updated: \"\"/audit log test.odt\"\"\""
"\"2024-05-03T08:51:50+00:00\",\"test7\",\"File written to: \"\"/audit log test.odt\"\"\""
"\"2024-05-03T08:55:04+00:00\",\"--\",\"Version \"\"/Documents/audit log test.odt.v1714726159\"\" was deleted.\""