Anonymous | Login | 2024-10-15 00:56 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000489 | [1003.1(2008)/Issue 7] System Interfaces | Objection | Error | 2011-09-01 15:48 | 2019-06-10 08:55 | ||
Reporter | eblake | View Status | public | ||||
Assigned To | ajosey | ||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | Eric Blake | ||||||
Organization | Red Hat | ||||||
User Reference | ebb.truncate | ||||||
Section | truncate | ||||||
Page Number | 2136 | ||||||
Line Number | 67570 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0000489: truncate should affect timestamps even for no size change | ||||||
Description |
The wording for ftruncate() requires mtime and ctime updates on successful completion, even when no change in file size occurs. However, truncate() does not describe what happens when no size change occurs, which is inconsistent with ftruncate(), and which is at odds with XBD 4.8 stating that ctime updates occur even if the metadata written (in this case, the file size) is identical to what it already was. |
||||||
Desired Action |
At line 67570 [XSH truncate() DESCRIPTION], change the sentence: "Upon successful completion, if the file size is changed, truncate( ) shall mark for update the last data modification and last file status change timestamps of the file, and the S_ISUID and S_ISGID bits of the file mode may be cleared." to: "Upon successful completion, truncate( ) shall mark for update the last data modification and last file status change timestamps of the file, and the S_ISUID and S_ISGID bits of the file mode may be cleared." |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Relationships | ||||||
|
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |