diff --git a/src/kernel/libroot/posix/utime.c b/src/kernel/libroot/posix/utime.c index 1dff6aa1d5..1e5f2d3941 100644 --- a/src/kernel/libroot/posix/utime.c +++ b/src/kernel/libroot/posix/utime.c @@ -30,7 +30,7 @@ utime(const char *path, const struct utimbuf *times) } else stat.st_atime = stat.st_mtime = time(NULL); - status = sys_write_path_stat(path, false, &stat, FS_WRITE_STAT_MTIME | FS_WRITE_STAT_ATIME); + status = sys_write_path_stat(path, true, &stat, FS_WRITE_STAT_MTIME | FS_WRITE_STAT_ATIME); RETURN_AND_SET_ERRNO(status); }