I'm trying to set ownCloud up on my Pi (following this). I've made a symbolic link from my data and config folders to a USB stick mounted at /media/cruzer_usb
(as per the link), and everything works, except when I go to http://mypi/owncloud
, I am told:
Can't write into config directory!
This can usually be fixed by giving the webserver write access to the config directory.
I take that to mean that www-data
needs to have access to the folder, in which case, my webserver does have access to the config directory:
>sudo ls -l /var/www/html/owncloud
total 168
drwxr-xr-x 29 www-data www-data 4096 May 30 19:03 3rdparty
drwxr-xr-x 26 www-data www-data 4096 May 30 19:04 apps
-rw-r--r-- 1 www-data www-data 8065 May 30 19:03 AUTHORS
lrwxrwxrwx 1 www-data www-data 24 May 30 19:16 config -> /media/cruzer_usb/config
-rw-r--r-- 1 www-data www-data 3439 May 30 19:03 console.php
-rw-r--r-- 1 www-data www-data 34520 May 30 19:03 COPYING-AGPL
drwxr-xr-x 16 www-data www-data 4096 May 30 19:04 core
-rw-r--r-- 1 www-data www-data 5919 May 30 19:03 cron.php
lrwxrwxrwx 1 www-data www-data 22 May 30 19:15 data -> /media/cruzer_usb/data
-rw-r--r-- 1 www-data www-data 32727 May 30 19:04 db_structure.xml
-rw-r--r-- 1 www-data www-data 179 May 30 19:04 index.html
-rw-r--r-- 1 www-data www-data 2026 May 30 19:04 index.php
drwxr-xr-x 3 www-data www-data 4096 May 30 19:03 l10n
drwxr-xr-x 5 www-data www-data 4096 May 30 19:04 lib
-rwxr-xr-x 1 www-data www-data 283 May 30 19:03 occ
drwxr-xr-x 2 www-data www-data 4096 May 30 19:03 ocs
drwxr-xr-x 2 www-data www-data 4096 May 30 19:04 ocs-provider
-rw-r--r-- 1 www-data www-data 2969 May 30 19:04 public.php
-rw-r--r-- 1 www-data www-data 4599 May 30 19:04 remote.php
drwxr-xr-x 5 www-data www-data 4096 May 30 19:04 resources
-rw-r--r-- 1 www-data www-data 26 May 30 19:03 robots.txt
drwxr-xr-x 12 www-data www-data 4096 May 30 19:04 settings
-rw-r--r-- 1 www-data www-data 1819 May 30 19:04 status.php
drwxr-xr-x 3 www-data www-data 4096 May 30 19:03 themes
drwxr-xr-x 7 www-data www-data 4096 May 30 19:04 updater
-rw-r--r-- 1 www-data www-data 233 May 30 19:04 version.php
but, I keep on getting that message.
I'm out of ideas, and Googling around hasn't led me anywhere. Any help would be appreciated :)