TokuBackup will change file permissions

Bug #1505658 reported by Shahriyar Rzayev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.6
Triaged
High
Unassigned
5.7
Triaged
High
Unassigned

Bug Description

After taking backup using TokuBackup you will see that, file permissions have changed in backup directory:

[root@node1 ~]# ls -l /home/backup_dir/mysql_data_dir/
total 110728
-rwxrwx--x. 1 mysql mysql 56 Okt 12 15:53 auto.cnf
-rwxrwx--x. 1 mysql mysql 12582912 Okt 12 15:53 ibdata1
-rwxrwx--x. 1 mysql mysql 50331648 Okt 12 15:53 ib_logfile0
-rwxrwx--x. 1 mysql mysql 50331648 Okt 12 15:53 ib_logfile1
-rwxrwx--x. 1 mysql mysql 3374 Okt 12 15:53 log000000000006.tokulog28
drwxrwx--x. 2 mysql mysql 4096 Okt 12 15:53 mysql
-rwxrwx--x. 1 mysql mysql 35154 Okt 12 15:53 node1.err
-rwxrwx--x. 1 mysql mysql 6 Okt 12 15:53 node1.pid
drwxrwx--x. 2 mysql mysql 4096 Okt 12 15:53 performance_schema
-rwxrwx--x. 1 mysql mysql 118 Okt 12 15:53 RPM_UPGRADE_HISTORY
-rwxrwx--x. 1 mysql mysql 118 Okt 12 15:53 RPM_UPGRADE_MARKER-LAST
-rwxrwx--x. 1 mysql mysql 24576 Okt 12 15:53 tc.log
drwxrwx--x. 2 mysql mysql 6 Okt 12 15:53 test
-rwxrwx--x. 1 mysql mysql 16384 Okt 12 15:53 tokudb.directory
-rwxrwx--x. 1 mysql mysql 16384 Okt 12 15:53 tokudb.environment
-rwxrwx--x. 1 mysql mysql 0 Okt 12 15:53 __tokudb_lock_dont_delete_me_data
-rwxrwx--x. 1 mysql mysql 0 Okt 12 15:53 __tokudb_lock_dont_delete_me_environment
-rwxrwx--x. 1 mysql mysql 0 Okt 12 15:53 __tokudb_lock_dont_delete_me_logs
-rwxrwx--x. 1 mysql mysql 0 Okt 12 15:53 __tokudb_lock_dont_delete_me_recovery
-rwxrwx--x. 1 mysql mysql 0 Okt 12 15:53 __tokudb_lock_dont_delete_me_temp
-rwxrwx--x. 1 mysql mysql 16384 Okt 12 15:53 tokudb.rollback

It is equal to running chmod 771 on datadir.

Tags: tokubackup
Revision history for this message
christianrober (christian-rober) wrote :

This is a duplicate of:

https://tokutek.atlassian.net/projects/BACKUP/issues/BACKUP-79?filter=allopenissues

Please cross reference that bug list before opening new tickets.

no longer affects: percona-server/5.7
tags: added: tokubackup
removed: tokudb
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-929

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.