JFTP: :write: Bad response Could not save data. Error: Could not write to the configuration file

1,883 views
Skip to first unread message

cwc1885

unread,
Aug 9, 2012, 9:22:56 AM8/9/12
to joomla-de...@googlegroups.com
I got a new Joomla site set up with : 

I get this error when I am trying to set the default error.

root directory permissions: 755
configuration.php permissions 744

Is this a permissions problem or owner problem?
  • JFTP: :write: Bad response
  • Could not save data. Error: Could not write to the configuration file

Saul Alejandro Martinez Castelo

unread,
Aug 9, 2012, 9:34:44 AM8/9/12
to joomla-de...@googlegroups.com

IMHO, file permissions are too high, 0664 would be enough. Are you using php CGI or as an Apache module?

Sent from Samsung Mobile

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/3RmgII8vJFQJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

editor

unread,
Aug 9, 2012, 9:40:54 AM8/9/12
to joomla-de...@googlegroups.com
Who is the owner? Unix permissions are respective of the owner.

Let's assume your webserver is a system user called www-data (as is the
case with most Debian-based systems). Then a file with permissions 744
would only be writeable by the *webserver* if it were actually *owned*
by the *webserver*. If the file were owned by root or some other user,
then it would not be writeable by the webserver.

To find out who/what owns a file, then cd to the directory containing
the file, something like this (modify path to suit your situation):-

cd /var/www/joomla/components/mycomponent/whatever

Then run the unix list command thus:-
ls -l

This will list all the files complete with their owners, groups and
permissions. If it is a very long list, then this command will list just
php files:-

ls -l *.php

HTH best wishes, G.

On 09/08/12 14:22, cwc1885 wrote:
> I got a new Joomla site set up with :
>
> I get this error when I am trying to set the default error.
>
> root directory permissions: 755
> configuration.php permissions 744
>
> Is this a permissions problem or owner problem?
>
> * JFTP: :write: Bad response
> * Could not save data. Error: Could not write to the configuration file

Saul Alejandro Martinez Castelo

unread,
Aug 9, 2012, 9:45:48 AM8/9/12
to joomla-de...@googlegroups.com

You could maybe create an ftp user and add it to the web group to use the ftp layer.

Good luck

Sent from Samsung Mobile

On Aug 9, 2012 6:40 AM, "editor" <edi...@garfnet.org.uk> wrote:
Who is the owner? Unix permissions are respective of the owner.

Let's assume your webserver is a system user called www-data (as is the case with most Debian-based systems). Then a file with permissions 744 would only be writeable by the *webserver* if it were actually *owned* by the *webserver*. If the file were owned by root or some other user, then it would not be writeable by the webserver.

To find out who/what owns a file, then cd to the directory containing the file, something like this (modify path to suit your situation):-

cd /var/www/joomla/components/mycomponent/whatever

Then run the unix list command thus:-
ls -l

This will list all the files complete with their owners, groups and permissions. If it is a very long list, then this command will list just php files:-

ls -l *.php

HTH best wishes, G.

On 09/08/12 14:22, cwc1885 wrote:
I got a new Joomla site set up with :

I get this error when I am trying to set the default error.

root directory permissions: 755
configuration.php permissions 744

Is this a permissions problem or owner problem?

  * JFTP: :write: Bad response
  * Could not save data. Error: Could not write to the configuration file

--
You received this message because you are subscribed to the Google
Groups "Joomla! General Development" group.
To view this discussion on the web, visit
https://groups.google.com/d/msg/joomla-dev-general/-/3RmgII8vJFQJ.
To post to this group, send an email to joomla-dev-general@googlegroups.com.

To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/joomla-dev-general?hl=en-GB.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.

cwc1885

unread,
Aug 9, 2012, 9:46:51 AM8/9/12
to joomla-de...@googlegroups.com
Thanks for the line.  I was not correct on teh configuration permissions.  configuration.php = 644

Here is my php test page.  This is an isp server.



On Thursday, August 9, 2012 6:34:44 AM UTC-7, Saul Martínez wrote:

IMHO, file permissions are too high, 0664 would be enough. Are you using php CGI or as an Apache module?

Sent from Samsung Mobile

On Aug 9, 2012 6:22 AM, "cwc1885" <cwc...@gmail.com> wrote:
I got a new Joomla site set up with : 

I get this error when I am trying to set the default error.

root directory permissions: 755
configuration.php permissions 744

Is this a permissions problem or owner problem?
  • JFTP: :write: Bad response
  • Could not save data. Error: Could not write to the configuration file

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/3RmgII8vJFQJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.

Saul Alejandro Martinez Castelo

unread,
Aug 9, 2012, 9:47:43 AM8/9/12
to joomla-de...@googlegroups.com

http://serverfault.com/questions/6895/whats-the-best-way-of-handling-permissions-for-apache2s-user-www-data-in-var

Sent from Samsung Mobile

To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/HVfETXCAUoYJ.

To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.

cwc1885

unread,
Aug 9, 2012, 12:54:24 PM8/9/12
to joomla-de...@googlegroups.com
thanks again.  I'll need to contact my isp to change this.


On Thursday, August 9, 2012 6:47:43 AM UTC-7, Saul Martínez wrote:
On Aug 9, 2012 6:46 AM, "cwc1885" <cwc...@gmail.com> wrote:
Thanks for the line.  I was not correct on teh configuration permissions.  configuration.php = 644

Here is my php test page.  This is an isp server.

http://wa-appliedmath.org/test.php

On Thursday, August 9, 2012 6:34:44 AM UTC-7, Saul Martínez wrote:

IMHO, file permissions are too high, 0664 would be enough. Are you using php CGI or as an Apache module?

Sent from Samsung Mobile

On Aug 9, 2012 6:22 AM, "cwc1885" <cwc...@gmail.com> wrote:
I got a new Joomla site set up with : 

I get this error when I am trying to set the default error.

root directory permissions: 755
configuration.php permissions 744

Is this a permissions problem or owner problem?
  • JFTP: :write: Bad response
  • Could not save data. Error: Could not write to the configuration file

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/3RmgII8vJFQJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Reply all
Reply to author
Forward
0 new messages