The creation/removal/modification of a file's ACL data changes the file's mtime, which is somewhat undesired behaviour. Commands such as chmod and chown do _not_ change the mtime. Fix: Find erroneous code, patch, commit, MFC. Lather, rinse, repeat if desired. How-To-Repeat: Enable ACL technology, as described in the docs. Then, run the following command sequences: # 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* # rm me # 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* # I have been aware of this problem since FreeBSD ~5.2-current.
Responsible Changed From-To: freebsd-bugs->rwatson Robert, can you look into this? http://www.freebsd.org/cgi/query-pr.cgi?pr=76818 Adding to audit trail from misfiled PR kern/91679: Date: Wed, 11 Jan 2006 15:59:53 +0000 (GMT)
State Changed From-To: open->patched This problem is now believed to be fixed in FreeBSD 8.x using the patch found in ports/125739. I plan to MFC this in a few days, at which point I will update this PR as well. The fix should ship in FreeBSD 7.2. Thanks for the report
State Changed From-To: patched->closed The fix has now been MFC'd to 7.x, and will appear in FreeBSD 7.2 later this year. Thanks for the report!