Opened 15 years ago

Closed 15 years ago

#3143 closed bug (fixed)

ctime of file is not updated

Reported by: bhaible Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/BFS Version: R1/pre-alpha1
Keywords: Cc: olive@…
Blocked By: Blocking:
Platform: All

Description

The POSIX description of the chmod system call says that

"Upon successful completion, chmod() shall mark for update the

st_ctime field of the file."

See http://www.opengroup.org/onlinepubs/009695399/functions/chmod.html Of course, this must also hold for the chmod command, since it is implemented using the chmod function.

The attached execution log shows that a successful invocation of 'chmod' did not bump the ctime.

Attachments (1)

haiku-ctime-bug.png (10.6 KB ) - added by bhaible 15 years ago.

Download all attachments as: .zip

Change History (3)

by bhaible, 15 years ago

Attachment: haiku-ctime-bug.png added

comment:1 by karmak, 15 years ago

Cc: olive@… added

comment:2 by axeld, 15 years ago

Component: System/KernelFile Systems/BFS
Resolution: fixed
Status: newclosed

Fixed in hrev28734.

Note: See TracTickets for help on using tickets.