mmm_restore and mmm_clone are messing up owner/group rights when calling cleanup method

Bug #388426 reported by jfdusar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-mmm
Fix Released
Medium
Pascal Hofmann

Bug Description

I have this issue with mysql-mmm 2.0.6 but the bug s still present with last version

When we restore a backup made with mmm_backup. The owner and group of the restore directory are modified recursively.

in my config I have

clone_dirs mysql
restore_dir /data1/

When i do the mmm_restore the cleanup function in Tools.pm chown -R mysql:mysql /data1/
But it should do it for chown -R mysql:mysql /data1/mysql

I have correction in Tools.pm, mmm_restore and mmm_clone.

I hope it will make to a new release soon.

Related branches

Revision history for this message
jfdusar (jfdusar) wrote :
Revision history for this message
jfdusar (jfdusar) wrote :
Revision history for this message
jfdusar (jfdusar) wrote :
Changed in mysql-mmm:
assignee: nobody → Pascal Hofmann (pascalhofmann)
importance: Undecided → Medium
status: New → Fix Committed
Changed in mysql-mmm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.