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:
- folders has 750 permissions (read&write&execute by owner, read&execute by group)
- 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:
- folders has 750 permissions (read&write&execute by owner, read&execute by group)
- 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?