Quantcast

owncloud installatio not possible ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

owncloud installatio not possible ?

Günther J. Niederwimmer
Hello,
I have a big Problem with the ../owncloud/data directory
I become always the the message cannot write to the
/var/www/html/owncloud/data by the setup.

I configure owncloud remote

My Installation:
KVM Centos 7.2
rpm packet from Owncloud 9.1.0-1.1

I installed apache 2.4 and Owncloud

after instal,l I mount a 1 TB LVM Partition to
/var/www/html/owncloud/data

selinux can be disabled or enabled no difference ?
 ls -l /var/www/html/owncloud
insgesamt 156
drwxr-xr-x. 29 root   apache  4096 23. Aug 12:00 3rdparty
drwxrwxr-x. 27 apache apache  4096 23. Aug 12:00 apps
-rw-r--r--.  1 root   apache  8301 20. Jul 11:15 AUTHORS
drwxrwxr-x.  2 apache apache  4096 23. Aug 13:48 config
-rw-r--r--.  1 root   apache  3805 20. Jul 11:15 console.php
-rw-r--r--.  1 root   apache 34520 20. Jul 11:15 COPYING-AGPL
drwxr-xr-x. 17 root   apache  4096 23. Aug 12:00 core
-rw-r--r--.  1 root   apache  5032 20. Jul 11:15 cron.php
drwxr-xr-x.  2 root   apache     6 23. Aug 16:05 data
-rw-r--r--.  1 root   apache 35830 20. Jul 11:15 db_structure.xml
drwxr-xr-x.  2 root   apache     6 20. Jul 17:23 etc
-rw-r--r--.  1 root   apache   179 20. Jul 11:15 index.html
-rw-r--r--.  1 root   apache  2282 20. Jul 11:15 index.php
drwxr-xr-x.  3 root   apache    63 23. Aug 12:00 l10n
drwxr-xr-x.  6 root   apache    95 23. Aug 12:00 lib
-rwxr-xr-x.  1 apache apache   283 20. Jul 11:15 occ
drwxr-xr-x.  2 root   apache    69 23. Aug 12:00 ocs
drwxr-xr-x.  2 root   apache    22 23. Aug 12:00 ocs-provider
-rw-r--r--.  1 root   apache  3086 20. Jul 11:15 public.php
-rw-r--r--.  1 root   apache  5428 20. Jul 11:15 remote.php
drwxr-xr-x.  4 root   apache    37 23. Aug 12:00 resources
-rw-r--r--.  1 root   apache    26 20. Jul 11:15 robots.txt
drwxr-xr-x. 12 root   apache  4096 23. Aug 12:00 settings
-rw-r--r--.  1 root   apache  1893 20. Jul 11:15 status.php
drwxr-xr-x.  3 root   apache    33 23. Aug 12:00 themes
drwxr-xr-x.  7 root   apache  4096 23. Aug 12:00 updater
-rw-r--r--.  1 root   apache   234 20. Jul 11:15 version.php

Have any a Idea what is broken on my system ?

Why is the mounted Partition not writable ?

Thanks for a answer,
--
mit freundlichen Grüßen / best regards,

  Günther J. Niederwimmer
_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: owncloud installatio not possible ?

tflidd
On 2016-08-23 17:12, Günther J. Niederwimmer wrote:

> Hello,
> I have a big Problem with the ../owncloud/data directory
> I become always the the message cannot write to the
> /var/www/html/owncloud/data by the setup.
>
> I configure owncloud remote
>
> My Installation:
> KVM Centos 7.2
> rpm packet from Owncloud 9.1.0-1.1
>
> I installed apache 2.4 and Owncloud
>
> after instal,l I mount a 1 TB LVM Partition to
> /var/www/html/owncloud/data
>
> selinux can be disabled or enabled no difference ?
>  ls -l /var/www/html/owncloud
> insgesamt 156
> drwxr-xr-x. 29 root   apache  4096 23. Aug 12:00 3rdparty
> drwxrwxr-x. 27 apache apache  4096 23. Aug 12:00 apps
> -rw-r--r--.  1 root   apache  8301 20. Jul 11:15 AUTHORS
> drwxrwxr-x.  2 apache apache  4096 23. Aug 13:48 config
> -rw-r--r--.  1 root   apache  3805 20. Jul 11:15 console.php
> -rw-r--r--.  1 root   apache 34520 20. Jul 11:15 COPYING-AGPL
> drwxr-xr-x. 17 root   apache  4096 23. Aug 12:00 core
> -rw-r--r--.  1 root   apache  5032 20. Jul 11:15 cron.php
> drwxr-xr-x.  2 root   apache     6 23. Aug 16:05 data

Your apache user can't write, only root can.

Make apache owner of the data/-folder or grant the apache group write
permissions.

tflidd
_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: owncloud installatio not possible ?

Wilfried.Essig@essignetz.de
In reply to this post by Günther J. Niederwimmer
Hi,

look at this information:
https://doc.owncloud.org/server/9.1/admin_manual/installation/installation_wizard.html#strong-perms-label

Willi



Am 23.08.2016 um 17:12 schrieb Günther J. Niederwimmer:

> Hello,
> I have a big Problem with the ../owncloud/data directory
> I become always the the message cannot write to the
> /var/www/html/owncloud/data by the setup.
>
> I configure owncloud remote
>
> My Installation:
> KVM Centos 7.2
> rpm packet from Owncloud 9.1.0-1.1
>
> I installed apache 2.4 and Owncloud
>
> after instal,l I mount a 1 TB LVM Partition to
> /var/www/html/owncloud/data
>
> selinux can be disabled or enabled no difference ?
>  ls -l /var/www/html/owncloud
> insgesamt 156
> drwxr-xr-x. 29 root   apache  4096 23. Aug 12:00 3rdparty
> drwxrwxr-x. 27 apache apache  4096 23. Aug 12:00 apps
> -rw-r--r--.  1 root   apache  8301 20. Jul 11:15 AUTHORS
> drwxrwxr-x.  2 apache apache  4096 23. Aug 13:48 config
> -rw-r--r--.  1 root   apache  3805 20. Jul 11:15 console.php
> -rw-r--r--.  1 root   apache 34520 20. Jul 11:15 COPYING-AGPL
> drwxr-xr-x. 17 root   apache  4096 23. Aug 12:00 core
> -rw-r--r--.  1 root   apache  5032 20. Jul 11:15 cron.php
> drwxr-xr-x.  2 root   apache     6 23. Aug 16:05 data
> -rw-r--r--.  1 root   apache 35830 20. Jul 11:15 db_structure.xml
> drwxr-xr-x.  2 root   apache     6 20. Jul 17:23 etc
> -rw-r--r--.  1 root   apache   179 20. Jul 11:15 index.html
> -rw-r--r--.  1 root   apache  2282 20. Jul 11:15 index.php
> drwxr-xr-x.  3 root   apache    63 23. Aug 12:00 l10n
> drwxr-xr-x.  6 root   apache    95 23. Aug 12:00 lib
> -rwxr-xr-x.  1 apache apache   283 20. Jul 11:15 occ
> drwxr-xr-x.  2 root   apache    69 23. Aug 12:00 ocs
> drwxr-xr-x.  2 root   apache    22 23. Aug 12:00 ocs-provider
> -rw-r--r--.  1 root   apache  3086 20. Jul 11:15 public.php
> -rw-r--r--.  1 root   apache  5428 20. Jul 11:15 remote.php
> drwxr-xr-x.  4 root   apache    37 23. Aug 12:00 resources
> -rw-r--r--.  1 root   apache    26 20. Jul 11:15 robots.txt
> drwxr-xr-x. 12 root   apache  4096 23. Aug 12:00 settings
> -rw-r--r--.  1 root   apache  1893 20. Jul 11:15 status.php
> drwxr-xr-x.  3 root   apache    33 23. Aug 12:00 themes
> drwxr-xr-x.  7 root   apache  4096 23. Aug 12:00 updater
> -rw-r--r--.  1 root   apache   234 20. Jul 11:15 version.php
>
> Have any a Idea what is broken on my system ?
>
> Why is the mounted Partition not writable ?
>
> Thanks for a answer,
>

_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: owncloud installatio not possible ?

Günther J. Niederwimmer
In reply to this post by tflidd
Hello,

I say thanks for this Problem, I don't see it before the permission have
change with the mount command but...

Next message ;-)

Am Dienstag, 23. August 2016, 17:34:04 schrieb tflidd:

> On 2016-08-23 17:12, Günther J. Niederwimmer wrote:
> > I have a big Problem with the ../owncloud/data directory
> > I become always the the message cannot write to the
> > /var/www/html/owncloud/data by the setup.
> >
> > I configure owncloud remote
> >
> > My Installation:
> > KVM Centos 7.2
> > rpm packet from Owncloud 9.1.0-1.1
> >
> > I installed apache 2.4 and Owncloud
> >
> > after instal,l I mount a 1 TB LVM Partition to
> > /var/www/html/owncloud/data
> >
> > selinux can be disabled or enabled no difference ?
> >
> >  ls -l /var/www/html/owncloud
> >
> > insgesamt 156
> > drwxr-xr-x. 29 root   apache  4096 23. Aug 12:00 3rdparty
> > drwxrwxr-x. 27 apache apache  4096 23. Aug 12:00 apps
> > -rw-r--r--.  1 root   apache  8301 20. Jul 11:15 AUTHORS
> > drwxrwxr-x.  2 apache apache  4096 23. Aug 13:48 config
> > -rw-r--r--.  1 root   apache  3805 20. Jul 11:15 console.php
> > -rw-r--r--.  1 root   apache 34520 20. Jul 11:15 COPYING-AGPL
> > drwxr-xr-x. 17 root   apache  4096 23. Aug 12:00 core
> > -rw-r--r--.  1 root   apache  5032 20. Jul 11:15 cron.php
> > drwxr-xr-x.  2 root   apache     6 23. Aug 16:05 data
>
> Your apache user can't write, only root can.
>
> Make apache owner of the data/-folder or grant the apache group write
> permissions.
>
> tflidd

Thanks ,

--
mit freundlichen Grüßen / best regards,

  Günther J. Niederwimmer
_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Loading...