开发者

linux inotify - determine users for the triggered events

I 开发者_Go百科am trying to figure out how to determine the user which triggered a specific event when monitoring some files with inotify. Is that even possible? Does the inotify_event structure has something like this?


inotify_event doesn't have a field for that. Since inotify is asynchronous you can't catch the user in the act either.

Have you considered a fuse filesystem? I think LoggedFS (GPL2+) fits the bill.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜