]> Git Repo - linux.git/commit
ext3: update ctime when changing the file's permission by setfacl
authorMiao Xie <[email protected]>
Thu, 27 May 2010 08:28:40 +0000 (16:28 +0800)
committerJan Kara <[email protected]>
Thu, 24 Jun 2010 23:20:37 +0000 (01:20 +0200)
commit30e2bab2d6e22188c6d36a09cdcffb4748d2dbe5
tree6970213dc80934ed97244468f6c432b97271e62c
parent523825bc586d19e0fbcfc5db717f5bb90108bbc3
ext3: update ctime when changing the file's permission by setfacl

ext3 didn't update the ctime of the file when its permission was changed.

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

But, according to the spec of the ctime, ext3 must update it.

Signed-off-by: Miao Xie <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
fs/ext3/acl.c
This page took 0.056961 seconds and 4 git commands to generate.