[opensuse] Permissions problem with Joomla
Hi, I've recently installed Joomla, a CMS website design program. I have successfully setup the LAMP server, and copied the Joomla files to a subdirectory under /srv/www/. The installation ran without difficulty, and I can login to the localhost website as admin. But when I try to edit stuff, Joomla tells me that its configuration files and all the other files, such as *.css are unwriteable. I have changed the ownership of the joomla directory to myself and group users, so now all directories in that tree have permissions 755 and files have permissions 644. As my user, I can create a file in kate and save it to the /srv/www/joomla directory, so it is writeable by me. So why can't Joomla admin, running in an instance of (any) web browser in my userspace, write to its own files? Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.2, Kernel 2.6.31.12-0.2-desktop, KDE 4.3.5 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 30 March 2010 05:57:18 pm Bob Williams wrote:
Hi,
I've recently installed Joomla, a CMS website design program. I have successfully setup the LAMP server, and copied the Joomla files to a subdirectory under /srv/www/. The installation ran without difficulty, and I can login to the localhost website as admin. But when I try to edit stuff, Joomla tells me that its configuration files and all the other files, such as *.css are unwriteable.
I have changed the ownership of the joomla directory to myself and group users, so now all directories in that tree have permissions 755 and files have permissions 644.
As my user, I can create a file in kate and save it to the /srv/www/joomla directory, so it is writeable by me. So why can't Joomla admin, running in an instance of (any) web browser in my userspace, write to its own files?
Bob Hi Bob, Did you use the Joomla installer, or copy the files? What I do for my local installations of Joomla is make myself a member of the www group and make the files and directories I need to edit writeable by www. By default apache on runs as the wwwrun user and www group so I am guessing that is why Joomla is complaining about not being to write to files. Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 31 Mar 2010 02:11:00 Michael Harnden wrote:
On Tuesday 30 March 2010 05:57:18 pm Bob Williams wrote:
Hi,
I've recently installed Joomla, a CMS website design program. I have successfully setup the LAMP server, and copied the Joomla files to a subdirectory under /srv/www/. The installation ran without difficulty, and I can login to the localhost website as admin. But when I try to edit stuff, Joomla tells me that its configuration files and all the other files, such as *.css are unwriteable.
I have changed the ownership of the joomla directory to myself and group users, so now all directories in that tree have permissions 755 and files have permissions 644.
As my user, I can create a file in kate and save it to the /srv/www/joomla directory, so it is writeable by me. So why can't Joomla admin, running in an instance of (any) web browser in my userspace, write to its own files?
Bob
Hi Bob, Did you use the Joomla installer, or copy the files? What I do for my local installations of Joomla is make myself a member of the www group and make the files and directories I need to edit writeable by www. By default apache on runs as the wwwrun user and www group so I am guessing that is why Joomla is complaining about not being to write to files. Mike
Hi Mike, I used the Joomla web browser installer, but it was unable to write to configuration.php at the end of that process, so I had to do the copy'n'paste workaround. I've followed your advice of adding myself to the www group, and changing ownership and write permissions to that group, and it seems to be working well, now. Many thanks, Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.2, Kernel 2.6.31.12-0.2-desktop, KDE 4.3.5 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 31/03/10 14:15, Bob Williams wrote:
On Wednesday 31 Mar 2010 02:11:00 Michael Harnden wrote:
On Tuesday 30 March 2010 05:57:18 pm Bob Williams wrote:
Hi,
I've recently installed Joomla, a CMS website design program. I have successfully setup the LAMP server, and copied the Joomla files to a subdirectory under /srv/www/. The installation ran without difficulty, and I can login to the localhost website as admin. But when I try to edit stuff, Joomla tells me that its configuration files and all the other files, such as *.css are unwriteable.
I have changed the ownership of the joomla directory to myself and group users, so now all directories in that tree have permissions 755 and files have permissions 644.
As my user, I can create a file in kate and save it to the /srv/www/joomla directory, so it is writeable by me. So why can't Joomla admin, running in an instance of (any) web browser in my userspace, write to its own files?
Bob
Hi Bob, Did you use the Joomla installer, or copy the files? What I do for my local installations of Joomla is make myself a member of the www group and make the files and directories I need to edit writeable by www. By default apache on runs as the wwwrun user and www group so I am guessing that is why Joomla is complaining about not being to write to files. Mike
Hi Mike,
I used the Joomla web browser installer, but it was unable to write to configuration.php at the end of that process, so I had to do the copy'n'paste workaround.
I've followed your advice of adding myself to the www group, and changing ownership and write permissions to that group, and it seems to be working well, now.
Many thanks,
Bob
I know it's not correct in general, but I make my Apache run as me to avoid changes rights any time I copy/extract files from somewhere. You can set it in: /etc/apache2/uid.conf I'm not sure about XAMPP, it may use it's own apache installation. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 31 Mar 2010 13:24:49 arygroup@gmail.com wrote:
On 31/03/10 14:15, Bob Williams wrote:
On Wednesday 31 Mar 2010 02:11:00 Michael Harnden wrote:
On Tuesday 30 March 2010 05:57:18 pm Bob Williams wrote:
Hi,
I've recently installed Joomla, a CMS website design program. I have successfully setup the LAMP server, and copied the Joomla files to a subdirectory under /srv/www/. The installation ran without difficulty, and I can login to the localhost website as admin. But when I try to edit stuff, Joomla tells me that its configuration files and all the other files, such as *.css are unwriteable.
I have changed the ownership of the joomla directory to myself and group users, so now all directories in that tree have permissions 755 and files have permissions 644.
As my user, I can create a file in kate and save it to the /srv/www/joomla directory, so it is writeable by me. So why can't Joomla admin, running in an instance of (any) web browser in my userspace, write to its own files?
Bob
Hi Bob, Did you use the Joomla installer, or copy the files? What I do for my local installations of Joomla is make myself a member of the www group and make the files and directories I need to edit writeable by www. By default apache on runs as the wwwrun user and www group so I am guessing that is why Joomla is complaining about not being to write to files. Mike
Hi Mike,
I used the Joomla web browser installer, but it was unable to write to configuration.php at the end of that process, so I had to do the copy'n'paste workaround.
I've followed your advice of adding myself to the www group, and changing ownership and write permissions to that group, and it seems to be working well, now.
Many thanks,
Bob
I know it's not correct in general, but I make my Apache run as me to avoid changes rights any time I copy/extract files from somewhere.
You can set it in: /etc/apache2/uid.conf
I'm not sure about XAMPP, it may use it's own apache installation.
Thanks. More useful information. What I've done above seems to be working so I'll stick with it for now. I'm only going to be running Apache as a localhost server while I practise using Joomla. Once I'm up to speed, I'll be using someone else's server when I go public with my site, so there'll be another set of permissions to sort out then ;) Bob -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.2, Kernel 2.6.31.12-0.2-desktop, KDE 4.3.5 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9600GT -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
arygroup@gmail.com
-
Bob Williams
-
Michael Harnden