diff --git a/source/java/org/alfresco/repo/content/filestore/FileContentWriter.java b/source/java/org/alfresco/repo/content/filestore/FileContentWriter.java index 753d785c55..9bfd9f7acb 100644 --- a/source/java/org/alfresco/repo/content/filestore/FileContentWriter.java +++ b/source/java/org/alfresco/repo/content/filestore/FileContentWriter.java @@ -134,6 +134,8 @@ public class FileContentWriter extends AbstractContentWriter implements RandomAc // create the channel RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw"); // will create it FileChannel channel = randomAccessFile.getChannel(); + // due to Linux dodgey behaviour, we have to set the modified date of the file ourselves + file.setLastModified(System.currentTimeMillis()); // done if (logger.isDebugEnabled()) {