s3fs icon indicating copy to clipboard operation
s3fs copied to clipboard

setinfo does not set modification time

Open jwnimmer-tri opened this issue 5 years ago • 0 comments

The current implementation of fs_s3fs.S3FS.setinfo() just a call to self.getinfo() (presumably to validate the path name).

However, if the call to setinfo() was due to trying to set the modification time as per fs.base.FS.settimes(), then the result appears to be no change to the modification time.

Perhaps until modification-time updates are correctly set by s3fs, it should raise NotImplementedError in this case for now.

jwnimmer-tri avatar Nov 19 '19 17:11 jwnimmer-tri