Posted on: 10/26/07 11:31am
By: Anonymous (sinergyinaction)
Hi
just can't back up the geeklog db of my site.
I receive the following error message:
An error has occurred:
2 - filemtime() [function.filemtime]: Stat failed for /home/moviments/permacultura-es/public_html/backups/geeklog_db_backup_2006_09_30.sql (errno=13 - Permission denied) @ /home/moviments/permacultura-es/public_html/admin/database.php line 57
array(3) {
["pFileA"]=>
string(32) "geeklog_db_backup_2006_09_30.sql"
["pFileB"]=>
string(32) "geeklog_db_backup_2006_01_09.sql"
["_CONF"]=>
&array(170) {
["path"]=>
string(44) "/home/moviments/permacultura-es/public_html/"
["path_html"]=>
string(44) "/home/moviments/permacultura-es/public_html/"
["site_url"]=>
string(30) "http://www.permacultura-es.org"
["site_admin_url"]=>
string(36) "http://www.perma
.......
what can I do?
Is it related to access privileges for my site home my directory?
Cheers
Antonio
Re: Can't back up DB
Posted on: 10/26/07 02:24pm
By: Dirk
Did it create the file? If it didn't check the permissions on your "backups" directory (as explained in the installation instructions).
bye, Dirk
Re: Can't back up DB
Posted on: 10/28/07 07:53am
By: Anonymous (sinergyinaction)
No it didn't create the file.
As for the permissios it has rwx for the owner/group and rw for public
When I put rwx for public as well then it works, but I guess public shoul not have the "x" priviledge.
On the other hand the group name assigned to the group is "ftpgroup" and I am nost sure this value may have anything to do with it
Thanks
Antonio
Re: Can't back up DB
Posted on: 10/28/07 08:42am
By: Dirk
Geeklog is kicking off the mysqldump utility, i.e. in the end that is running under the same user as the webserver. So the "backups" directory needs read, write, and execute permissions for the webserver's user.
bye, Dirk
Re: Can't back up DB
Posted on: 10/28/07 11:59am
By: pinkponk
Quote by: DirkGeeklog is kicking off the mysqldump utility, i.e. in the end that is running under the same user as the webserver. So the "backups" directory needs read, write, and execute permissions for the webserver's user.
bye, Dirk
Dirk, why is my admin"parol constantly incorrect?