diff --git a/src/s3fs.cpp b/src/s3fs.cpp index 4f4700a..cd02e6c 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -2161,6 +2161,7 @@ static int s3fs_truncate(const char* _path, off_t size) return result; } + ent->UpdateCtime(); }else{ // Not found -> Make tmpfile(with size)