[Bugs] [Bug 1487504] New: files are appendable on file-based worm volume

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 1 06:09:15 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1487504

            Bug ID: 1487504
           Summary: files are appendable on file-based worm volume
           Product: GlusterFS
           Version: 3.11
         Component: unclassified
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: jurgen.reij at ingbank.com
                CC: bugs at gluster.org



Description of problem:
it is possible to append a file in immutable and undeletable state on a
file-based worm volume

Version-Release number of selected component (if applicable):
3.11.2

How reproducible:
[vagrant at client1 share]$ date && echo "testfile" >> testfile
Wed Aug 30 09:03:51 CEST 2017
[vagrant at client1 share]$ date && rm testfile
Wed Aug 30 09:04:07 CEST 2017
rm: cannot remove ‘testfile’: Read-only file system
[vagrant at client1 share]$ date && echo "testfile" >> testfile
Wed Aug 30 09:04:12 CEST 2017
[vagrant at client1 share]$ date && echo "testfile" >> testfile
Wed Aug 30 09:05:17 CEST 2017
[vagrant at client1 share]$ date && rm testfile
Wed Aug 30 09:05:21 CEST 2017
[vagrant at client1 share]$



Steps to Reproduce:
1.create volume. enable file-based worm
2.features.worm-file-level: on
features.default-retention-period: 60
features.auto-commit-period: 5
3.follows steps in "how reproducible"

Actual results:
the file was appended

Expected results:
it should not be possible to append files in immutable undeletable state 


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list