Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 11:12:57 -0500
From:      Craig <craig@backfire.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/76818: ACL modifications touch file's mtime 
Message-ID:  <E1CuvDV-000DYm-Cp@backfire.ca>
Resent-Message-ID: <200501291620.j0TGKEGu080280@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76818
>Category:       kern
>Synopsis:       ACL modifications touch file's mtime
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 16:20:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Craig
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
The SCO Group, INC 
>Environment:
System: FreeBSD burnout 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Wed Jan 5 18:44:27 EST 2005 craig@burnout:/usr/obj/usr/src/sys/BURNOUT5 i386


	
>Description:
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.
	
>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.
	
>Fix:
Find erroneous code, patch, commit, MFC. Lather, rinse, repeat if desired.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1CuvDV-000DYm-Cp>