afero icon indicating copy to clipboard operation
afero copied to clipboard

MemMapFs does not handle mode bits

Open jxsl13 opened this issue 3 years ago • 0 comments

I'm kind of testing around with my BackupFs implementation that also utilizes the Afero.Fs interface in order to implement a backup on write mechanism.

While writing my tests I have noticed that either memmapfs.Chmod is not properly working or memmapfs.Stat is not properly working.

Either way I do get a file mode of 0x0 of type os.ModeTemporary when Stat'ing /Lstat'ing paths.

jxsl13 avatar Feb 05 '22 19:02 jxsl13