Answer the question
In order to leave comments, you need to log in
How to implement file open interception in Linux?
How can I intercept the file open event in Linux? For example, it is necessary to monitor all files that the user opens and write to the log. How can this be done (preferably in Python)?
Answer the question
In order to leave comments, you need to log in
I just know that you can see this: os.path.getatime(path) - the last time the file was accessed, in seconds.
And there is also this article about logging: www.xakep.ru/post/54897
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question