[Bugs] [Bug 1558507] New: Gluster allows renaming of folders, which contain WORMed/Retain or WORMed files

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 20 11:18:04 UTC 2018


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

            Bug ID: 1558507
           Summary: Gluster allows renaming of folders, which contain
                    WORMed/Retain or WORMed files
           Product: GlusterFS
           Version: 3.12
         Component: unclassified
          Assignee: bugs at gluster.org
          Reporter: david.spisla at iternity.com
                CC: bugs at gluster.org



Description of problem:
As mentioned in the summary, Gluster allows renaming of folders, which contain
WORMed/Retain or WORMed files. The path of a file is part of the files identity
and someone should not be allowed to change it, if the file is in WORMed/Retain
or WORMed state. This behaviour does not match the definition of WORM which
means that a file can not be changed after it was write initially


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


How reproducible:
You need access to a gluster volume via FUSE or something else and
worm-file-level must be switched on.

Steps to Reproduce:
$ mkdir test
$ echo test >> test/test.txt
$ chmod 444 test/test.txt
$ mv test test1


Actual results:
The command "mv test test1" can be done without error.

Expected results:
After executing the command "mv test test1" the system should not allow this
command

Additional info:
none

-- 
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