Bug 668916 - setfacl does not update ctime when changing file permission on ext3/4
Summary: setfacl does not update ctime when changing file permission on ext3/4
Keywords:
Status: CLOSED DUPLICATE of bug 709224
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: Petr Beňas
URL:
Whiteboard:
Depends On: 668915 709224 969322 969323
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-12 02:38 UTC by Mark Wu
Modified: 2015-01-04 23:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 668915
Environment:
Last Closed: 2011-08-22 18:51:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mark Wu 2011-01-12 02:38:40 UTC
+++ This bug was initially created as a clone of Bug #668915 +++

Description of problem:
setfacl does not update ctime when changing file permission on ext3/4

Version-Release number of selected component (if applicable):
RHEL6 GA (2.6.32-71.el6) 

How reproducible:
100%

Steps to Reproduce:
 # touch aaa
 # stat -c %Z aaa
 1275289822
 # setfacl -m  'u::x,g::x,o::x' aaa
 # stat -c %Z aaa
 1275289822                         <- unchanged
  
Actual results:
ctime is not updated after setfacl

Expected results:
ctime is updated after setfacl

Additional info:
These two issues are already fixed in upstream:

・ext3: update ctime when changing the file's permission by setfacl
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=30e2bab2d6e22188c6d36a09cdcffb4748d2dbe5

- This problem is solved on ext4 by the following patch file merged in kernel-2.6.36.
・ext4: update ctime when changing the file's permission by setfacl
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c6ac12a6159c802ae8b757dd13563564e64333df

Comment 1 RHEL Program Management 2011-06-20 22:27:42 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 2 RHEL Program Management 2011-08-08 20:59:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Eric Sandeen 2011-08-22 18:51:31 UTC
[root@bear-05 tmp]# touch aaa
[root@bear-05 tmp]# stat -c %Z aaa
1314040539
[root@bear-05 tmp]# setfacl -m  'u::x,g::x,o::x' aaa
[root@bear-05 tmp]# stat -c %Z aaa
1314040547
[root@bear-05 ~]# uname -a
Linux bear-05 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

This is fixed - dup of bug #709224

*** This bug has been marked as a duplicate of bug 709224 ***


Note You need to log in before you can comment on or make changes to this bug.