ext4 - getting at birth time (file create time) and getting/setting nanosecond time stamps and utime

Steve French smfrench at gmail.com
Tue Oct 20 14:49:27 MDT 2009

On Tue, Oct 20, 2009 at 3:33 PM, Andreas Dilger <adilger at sun.com> wrote:
> For those users/admins that want to be able to change this (due to
> Samba, or whatever), great, we can give them this ability, but for
> users who do NOT want regular users to be able to change the file
> creation timestamp, that should be possible as well.

So, are we ready for Mingming or one of the ext4 developers to propose
a patch for this via xattrs (I can do a similar one for cifs).
Sounds like various have said:

1) xattrs instead of ioctl
2) get of create time allowed by default, but set of create time limited

But for the second part of this - how should we set nanosecond
timestamps for the others (or in Samba's case, rounded to 100
nanoseconds for DCE time) ... a millisecond granularity for utimes is
a very long time these days.



More information about the samba-technical mailing list