[Bugs] [Bug 1487502] New: able to delete files on file-based worm volume

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


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

            Bug ID: 1487502
           Summary: able to delete files 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 delete 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:18:06 CEST 2017
[vagrant at client1 share]$ date && rm testfile
Wed Aug 30 09:18:15 CEST 2017
rm: cannot remove ‘testfile’: Read-only file system
[vagrant at client1 share]$ date && touch -a testfile
Wed Aug 30 09:18:23 CEST 2017
[vagrant at client1 share]$ date && rm testfile
Wed Aug 30 09:18:24 CEST 2017


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 deleted

Expected results:
it should not be possible to delete 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