Closed gaborh-da closed 5 years ago
@gaborh-da you are totally right, we need to update that behavior on unix as well. I mistakenly thought updating attributes will update the mtime
, but it only updates ctime
. I'll merge the PR a bit later, change the behavior on Unix and do a release later on today.
@lehins I am not sure it needs update on Unix. I tried the following scenario:
chmod 400
on that file which should be read onlychmod 555
and it still worked
If one sets the file mode first, then a read only file's modification time cannot be set.