Clone
Marc Philipp
committed
on 01 Oct 18
Use Files.setLastModifiedTime to touch files
While, `File.setLastModified` always uses `utimes` on Unix,
`Files.setLastModifiedTime` uses `f… Show more
Use Files.setLastModifiedTime to touch files

While, `File.setLastModified` always uses `utimes` on Unix,

`Files.setLastModifiedTime` uses `futimes`, if available, which seems to

be able to set the timestamp for writable files owned by another user.

Resolves #6971. Show less

master + 356 more