Not the answer you need?
Register and ask your own question!

innobackupex create files with defferent permissions

SoglSogl EntrantInactive User Role Beginner
Hi!

I use NFS on my NAS fileserver for create backups with innobackupex from my MySQL 5.7 in Linux Ubuntu 14.04.

If I use mkdir or touch commands in Linux with mounted NAS:
1. folders has 750 permissions (read&write&execute by owner, read&execute by group)
2. files has 660 permissions (read&write by owner, read&write by group)
It's OK, but I need write for group in bash scripts.
So I create folders with specific permissions:
mkdir -m 770 -p /mnt/dir

But if I use innobackupex command with mounted folder:
1. folders has 750 permissions (read&write&execute by owner, read&execute by group)
2. files has 640 permissions (read&write by owner, read by group)
It's not OK, because I really need write by group!

Why files and folders from cli innobackupex creates with these permissions?
How to fix it?

Comments

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.