how to get linux file modification history includi

2019-08-16 04:26发布

I want to trace the modification history of a specific file. Does linux have commands allow me to get some details like who, when, did what(access, write, execute).

eg.

bob:adm read $timestamp 
alice:user write $timestamp

I know stat can do some of it, but can it also show me who/group modified the file?

标签: linux
1条回答
对你真心纯属浪费
2楼-- · 2019-08-16 05:02

Most File Systems simply don't track those data.

Journaling file systems track them (at least the write operations) but usually just the last ones.

Without a very specific file system, you won't have those data.

查看更多
登录 后发表回答