LAMPP: file-permissions causes terrific errors in Server

hello dear Suse-friends,

well last weekend i set up a LAMPP-System on my openSuse 11.4 system.

Well the lampp includes the Apache 2.2, a MySQL-Server, PHP 5.3x and phpMyadmin. I Well the LAMP is allready up and running. I also have installed a CMS - a joomla Version 1.7.3 - the installaton went smoothly and was no problem at all.

But afterwards i wanted to install some extensions and templates. Note this is the critical point in each installation of Joomla. Now the system needs to get the files via a FTP-process.

And believe it or not - this fails every time i try it! i get the error - **cant move the files **
Well i guess that this might have to do with the Apache / or the whole Lampp-System. What do you think!!?

Perhaps this is an issue of permissions!? See the folder where i installed the joomla!

mkdir /srv/www/basic

Well the installation of the joomla 1.7.3 went nice - and was installing smoothly - true vanilla.


BTW see the paths

public $unicodeslugs = '0';
    public $feed_limit = '10';
    public $log_path = '/srv/www/htdocs/basic/logs';
    public $tmp_path = '/srv/www/htdocs/basic/tmp';
    public $lifetime = '15';
    public $session_handler = 'database';

well the issue that arises - when i try to install some extensions i got the error - can t move files!

Well i am a bit unsure where this issue has its origin. What causes this error!?

look forward to hear from you!



You have a permission error.

In openSUSE, when you install a LAMP solution, usually you run your server in this folder : ~/username/public_html.

Since you installed your LAMP in srv/www, those folders belong to root. So you should change the ownership of those folders like that in terminal :

su -
your_hostname:/home/**the_user_to_give_ownership** # chown -R **the_user_to_give_ownership**:users /srv/www

hello dear DaaX

many many thanks for the answer and the hints - guess that you are right. I will try out all you advice and finally come back and report all the findings.

meanwhile many many thanks

greetings dilbert!

hello dear DaaX - again me!

again me - and a big big sorry for answering again - i am pretty new to Lamp /p and therefore i apologize for all kind of newbie-questions.

well i have heard that Permissions -** LAMPP files need to belong to nobody:root **

duhhh - what does that mean!?

but see what i have here - (in the somewhat **misconfigured lamp **- where the www is in srv/www/htdocs/ [basic]

Therefore some additional questions that arise out of some findings: well i need your assistance here: see what i have here

linux-vi17:/srv # ls -l 
insgesamt 8
drwxr-xr-x 2 root   root  4096 18. Feb 2011  ftp
drwxrwxrwx 7 martin users 4096  3. Jan 14:50 www
linux-vi17:/srv # 

should i change this **recoursively to **

a. the root
b. the user martin

with full access rights to do all .-…
By the way .- we see interesting things.

i have the ftp and the www-folder that is used by different users. well that must lead to terrible misbehaviour - does nt it?

i guess that this only can cause chaos at the highest level?!

what do you sugest here!? i can imagine that it would be great to unify the both -

**either to make **
a. martin as the owner of the ftp or
b. root make the owner of the www

am i wrong here!?

love to hear from you

dilbertone :slight_smile:


Apply the same command that I gave you for the /ftp folder also. Sorry, I forgot to mention it. :slight_smile:

hello DaaX many many thanks

greetings dilbert

i have installed and tried to configure the Apache 2 in OpenSuse 12.1

Well i have a bunch of questions;

the first one; Is this the document-root? /home/username/public_html

is this correct!? see the page 3 /or 4 of the configuration guide of the HTTP server.

Document Root: "/srv/www/htdocs"
Directory; "/srv/www/htdocs"
Alias: /icons/ "/usr/share/apache2/icons/"
Directory: "/usr/share/apache2/icons"
Script Alias: /cgi-bin/ "/srv/www/cgi-bin/"
Directory: "/srv/www/cgi-bin"
mod_userdir.c: empty here nothing is filled in ;-)
include: /etc/apache2/conf.d/*.conf
include: /etc/apache2/conf.d/apache2-manual?conf
Servername linux-r4qe
E-Mail des Servername: root@linux-r4qe 

While running the apache-configuring tool I have on page 5/5

listening on
all, port 80
SSL deaktiviert
Virtuelle Hosts
linux-r4qe in "/srv/www/htdocs", SSL deaktiviert

Is Apache installed and configured correctly?

As you might find this question a bit silly or newbie-like, here are some explanations: I have installed the LAMP some months ago - but in a wrong path.

public $unicodeslugs = '0';
    public $feed_limit = '10';
    public $log_path = '/srv/www/htdocs/basic/logs';
    public $tmp_path = '/srv/www/htdocs/basic/tmp';
    public $lifetime = '15';
    public $session_handler = 'database';

I always thougth that the path should be this one here:


love to hear from you


On 2012-03-08 22:06, dilbertone wrote:
> is this correct!? see the page 3 /or 4 of the configuration guide of
> the HTTP server.

You will have to post a link to that document you are followin.

Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

see the page 3 /or 4 of the configuration guide of
> the HTTP server.
please post the link of the guide

hello good day

great to hear from you…

Webserver (LAMP) unter openSUSE 12.1 installieren | mnTechBlog

this is unfortunatley in German - can we translate this? I love to hear from you