Unable to create new files


#1

I have one huge data folder which is shared, under this are my 2 user profile folders. all of these are mapped as external storage

/mnt/usb1/shareroot
/mnt/usb1/shareroot/ourmedia/owen
/mnt/usb1/shareroot/ourmedia/kimberly

/mnt/usb1/shareroot and all subfolders/files have 777 permissions

I know there are alot of existing post about this but none of resolved my issue

Steps to reproduce
1.configure external storage (local storage, 1 root folder, then 2 other folders underneath)
2.then go to admin>storage and profile these 3 folders as external storage
3.use client to add a new file
4. error:

Not allowed because you don’t have permission to add files in that folder.

Expected behaviour
new files should sync and be created

Actual behaviour
error is displayed

Server configuration
Operating system:
OpenWRT

Web server:
lighttpd

Database:
whatever is default probably sqlite

PHP version:
7.2.8-1

ownCloud version: (see ownCloud admin page)
10.0.9.5

Updated from an older ownCloud or fresh install:
fresh install

Where did you install ownCloud from:
downloaded latest tar from your site

Signing status (ownCloud 9.0 and above):
i dont know/doubt it


#2

I’m not sure, your system fully meets the requirements for owncloud.


#3

everything seems to work good. except for this error. from what i know it really shouldn’t matter as long as the web server offers everything owncloud needs (php, sqllite, etc.)


#4

Owner & group checked? Must be Webserver-user.


#5

my folder permissions are: (if we just focus on one instead of the other 2)
rwxrwxrwx 3 http www-data 4096 Aug 7 09:30 owen

and according to ps it seems right (users match)
2483 1 http S 3828 2% 0% /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf


#6

Hey,

i have read the opposite. e.g. PHP 7.2 is only supported as a “tech demo” for ownCloud 10 and lighttpd doesn’t seems to be listed in the supported platforms at all:

https://doc.owncloud.org/server/latest/admin_manual/installation/system_requirements.html

Maybe one or both of those points are leading to your seen issue?


#7

If almost everything is different in your installation, so also the group-id could be other than www-data.

But maybe the problem lies in this share-within-a-share concept, what IMHO is somewhat strange anyway.


#8

thank you
i guess i should have tried it from the beginning. But in the end moving the personal folders outside of the share root fixed the problem

/mnt/usb1/owncloud/owen (outside of shareroot)