setfacl and mtime

From: Craig Reyenga <craig_at_bluemidnight.ca>
Date: Wed, 19 May 2004 03:37:12 -0400
Hi,

I've been toying with ACLs lately, and I noticed that ACL operations change
the mtime of the file, whereas chmod does not. Is this functionality
intentional? More importantly, can it be turned off?

craig_at_burnout<~> touch me && ls -l me && sleep 300 && setfacl -m u:root:rwx
me && ls -l me
-rw-r--r--  1 craig  admins  0 May 19 03:09 me
-rw-rwxr--+ 1 craig  admins  0 May 19 03:14 me*
craig_at_burnout<~> rm me
craig_at_burnout<~> touch me && ls -l me && sleep 300 && chmod 777 me && ls -l
me
-rw-r--r--  1 craig  admins  0 May 19 03:28 me
-rwxrwxrwx  1 craig  admins  0 May 19 03:28 me*
craig_at_burnout<~>

-Craig
Received on Tue May 18 2004 - 23:17:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC