Results 1 to 5 of 5
Hi, I wanted to know where can I find logs for the changes done to a file on a mounted directory. Thanks in advance!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-06-2013 #1
- Join Date
- Oct 2011
Logs for the changes done to a file?
I wanted to know where can I find logs for the changes done to a file on a mounted directory.
Thanks in advance!
- 05-06-2013 #2
There is the timestamp, which tells you when the last change happened.
User/group limits the number of persons being able to.
And depending on whether this mounted directory is local or remote, you can check the logs of e.g. nfs or samba on who accessed the file.
On a plain file, you cannot see the content changes.
You would need to put that file under revision control, e.g. subversion or git.You must always face the curtain with a bow.
- 05-06-2013 #3
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
As Irithori said. In addition, the system stamps a file with the last access date/time/user/group information. You cannot tell what was changed in the file, but you can tell who has accessed and/or changed it, and when.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-07-2013 #4
- 05-07-2013 #5
If you need more info. like notification as soon something happens on a specific dirs/file checkout inotify.
[ If Its okay to run something fuse file system - then i would add a fuse wrapper - which logs who accessed which file. Drawback with fuse is the system will be become slow ]