[Gllug] stat'ing a file shows it was changed today and yet it has the date of a few days ago

Oliver Howe ojhowe at gmail.com
Mon Jun 20 20:30:24 UTC 2011


Hi,

When I do stat against a file (renamed below to /path/to/filename) it shows
the following

# stat /path/to/filename
File: `/path/to/filename'
Size: 8998312448 Blocks: 17574840 IO Block: 4096 regular file
Device: fd0eh/64782d Inode: 18643 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 6003/username) Gid: ( 6001/ groupname)
Access: 2011-06-16 17:38:43.723380000 +0000
Modify: 2011-06-16 17:40:39.955971000 +0000
Change: 2011-06-20 10:39:09.212814934 +0000
#

When I do ls -la of the file, it has the date of when it was last modified

# ls -la /path/to/file
-rw-r--r-- 1 username groupname 8998312448 Jun 16 17:40 /path/to/file
#

so, does "Change" above mean the last time the file mode was changed?
If so, is there a way to see who or what process changed the file
permissions?

Thanks,

Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20110620/9c77366b/attachment.html>
-------------- next part --------------
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list