Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 03:37:12 -0400
From:      "Craig Reyenga" <craig@bluemidnight.ca>
To:        <freebsd-current@freebsd.org>
Subject:   setfacl and mtime
Message-ID:  <000501c43d74$19dc5fb0$0200000a@redline>

next in thread | raw e-mail | index | archive | help
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@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@burnout<~> rm me
craig@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@burnout<~>

-Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c43d74$19dc5fb0$0200000a>