Opened 10 years ago

Closed 10 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:
Has a Patch: no 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 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by bhaible

Attachment: haiku-ctime-bug.png added

comment:1 Changed 10 years ago by karmak

Cc: olive@… added

comment:2 Changed 10 years ago by axeld

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

Fixed in hrev28734.

Note: See TracTickets for help on using tickets.