Changes to archive do not persist after unmount

Issue #46 closed
Former user created an issue

Hi here my version, I worked as root for testing. fuse-zip version: 0.4.0 FUSE library version: 2.9.4 fusermount version: 2.9.4 using FUSE kernel interface version 7.19 Doing creation without existing zip-archiv:

fuse-zip -d ~/fuse-zip-test.zip ~/zipfs FUSE library version: 2.9.4 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.23 flags=0x0003f7fb max_readahead=0x00020000 INIT: 7.19 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 unique: 1, success, outsize: 40 Then I copy just some files I collected for testing purpose

cp -r ~/MyTXT ~/zipfs/ I get a lot of errors unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 17385 getattr / unique: 2, success, outsize: 120 unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 56, pid: 17538 getattr / unique: 3, success, outsize: 120 unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 17538 LOOKUP /MyTXT getattr /MyTXT unique: 4, error: -2 (No such file or directory), outsize: 16 unique: 5, opcode: LOOKUP (1), nodeid: 1, insize: 46, pid: 17538 LOOKUP /MyTXT getattr /MyTXT unique: 5, error: -2 (No such file or directory), outsize: 16 unique: 6, opcode: MKDIR (9), nodeid: 1, insize: 54, pid: 17538 mkdir /MyTXT 0700 umask=0022 getattr /MyTXT NODEID: 2 unique: 6, success, outsize: 144

and many more,

The files are present in the actual session

ls -la ~/zipfs/ insgesamt 8 drwxrwxr-x 3 root root 0 28. Feb 12:18 . drwx------ 18 root root 4096 28. Feb 12:18 .. drwx------ 18 root root 0 28. Feb 12:19 MyTXT The files are in there .... After unmounting and mounting again the files are gone.

ls -la ~/zipfs insgesamt 8 drwxrwxr-x 2 root root 0 28. Feb 12:29 . drwx------ 18 root root 4096 28. Feb 12:29 ..

in user.log there is

Feb 28 12:12:50 laptop/laptop fuse-zip[17488]: Mounting file system on /root/fuse-zip-test.zip (cwd=/root) Feb 28 12:13:32 laptop/laptop fuse-zip[17488]: Error while closing archive: Operation not supported Feb 28 12:13:32 laptop/laptop fuse-zip[17488]: File system unmounted Feb 28 12:14:27 laptop/laptop fuse-zip[17502]: Mounting file system on /root/fuse-zip-test.zip (cwd=/root) Feb 28 12:18:00 laptop/laptop fuse-zip[17502]: File system unmounted

Kind regards,

Michael

Comments (5)

  1. Alexander Galanin repo owner

    I get a lot of errors: unique: 4, error: -2 (No such file or directory), outsize: 16

    This message is not an error indicator. This tell us that that file doesn't exists before creation

    Feb 28 12:13:32 laptop/laptop fuse-zip[17488]: Error while closing archive: Operation not supported

    Thank you for this log message. I'll look into my zip_source_function implementation.

  2. Log in to comment