BACKUP/RESTORE - file rights
| From: | Armand Turpel | Date: | Thu, 26 Jun 2003 11:24:13 +0000 |
| Subject: | BACKUP/RESTORE - file rights | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28895@lists.php.net to get a copy of this message | ||
Hi,
Doing a backup of db tables under mysql using
$sql = '
BACKUP TABLE
test_table
TO
"backup"
'; give the backup files the rights of the mysql server. I my environemt this is:
user: mysql
group: daemon
If the apache isn't a member of the daemon group, php can not do some work on this files, ex.: file compression.
Question:
Is this the case, that the mysql and the apache server where members of the same group in most server environements?
Thanks,
Armand