Bug#497514: Races

2008-09-04 Thread Jim Meyering
Marc SCHAEFER <[EMAIL PROTECTED]> wrote: > *IF* POSIX or general use mandates that chmod(2) should not change > ctime if no change really occurs, Neither mandates that. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#497514: Races

2008-09-04 Thread Marc SCHAEFER
Hi, *IF* POSIX or general use mandates that chmod(2) should not change ctime if no change really occurs, this should be fixed in the Linux kernel itself. Fixing it in user space in the chmod(1) utility is wrong, because it could introduce user-space race conditions. For example: timestamp 1: