Hi,
I have setup a Ubuntu server in a VM to run OwnCloud and MySQL. The docker version was not working for me as any changes to the docker version would be lost when a update was performed. I transferred everything over to the VM and got it working and upgraded to OwnCloud 10. It works, but...
I have:
Unraid 6.3.3
A share for Owncloud data directory. It is not exported.
The VM setup with that share mounted into /var/www/owncloud/data via fstab
data /var/www/owncloud/data 9p oversion=9p2000.L,gid=33,uid=33,file_mode=0700,dir_mode=0700 0 0
I have tried to force the gid, uid and mode, but it will not stick.
the user/group for the data directory is reporting as 99:users - when this is the case, OwnCloud will report errors about ownership and RW permissions for all users active.
if I change the user/group to www-data:www-data via chown and the permissions to 0700 via chmod they will stick for a short amount of time then change back to 99:users and all RW permissions are returned. When at www-data and 0700, OwnCloud works.
Inside the Data directory, the correct www-data uid, gid and mode is there and dosen't change.
SO what is causing the permissions and ownership to change back to 99:users and how can I stop it?
Thanks in advance, I hope I have enough info included.
Update - I had a thought it might be the "Fix Common Problems" causing this, so I excluded the owncloud share. No luck.
Here is the ls -la output
root@ubuntu-owncloud:/var/www/owncloud# ls -la
total 192
drwxr-x--- 16 root www-data 4096 Apr 30 18:06 .
drwxr-xr-x 4 root root 4096 Apr 29 07:12 ..
drwxr-x--- 29 www-data www-data 4096 Apr 30 18:06 apps
drwxr-x--- 2 www-data www-data 4096 Apr 19 12:14 assets
-rw-r----- 1 root www-data 8859 Apr 26 21:40 AUTHORS
drwxr-x--- 2 www-data www-data 4096 Apr 30 18:23 config
-rw-r----- 1 root www-data 4056 Apr 26 21:40 console.php
-rw-r----- 1 root www-data 34520 Apr 26 21:40 COPYING
drwxr-x--- 17 root www-data 4096 Apr 30 18:06 core
-rw-r----- 1 root www-data 4969 Apr 26 21:40 cron.php
drwxrwxrwx 1 99 users 12 May 1 03:01 data
-rw-r----- 1 root www-data 30871 Apr 26 21:40 db_structure.xml
drwxr-x--- 2 root www-data 4096 Apr 19 12:14 etc
-rw-r--r-- 1 root www-data 2653 Apr 30 18:13 .htaccess
-rw-r----- 1 root www-data 179 Apr 26 21:40 index.html
-rw-r----- 1 root www-data 3257 Apr 26 21:40 index.php
drwxr-x--- 3 root www-data 4096 Apr 30 18:06 l10n
drwxr-x--- 6 root www-data 4096 Apr 30 18:06 lib
-rwxr-x--x 1 root www-data 283 Apr 26 21:40 occ
drwxr-x--- 2 root www-data 4096 Apr 30 18:06 ocs
drwxr-x--- 2 root www-data 4096 Apr 30 18:06 ocs-provider
-rw-r----- 1 root www-data 3197 Apr 26 21:40 public.php
-rw-r----- 1 root www-data 5481 Apr 26 21:40 remote.php
drwxr-x--- 4 root www-data 4096 Apr 29 07:12 resources
drwxr-x--- 12 root www-data 4096 Apr 30 18:06 settings
-rw-r----- 1 root www-data 1757 Apr 26 21:40 status.php
drwxr-x--- 2 www-data www-data 4096 Apr 30 18:06 themes
drwxr-x--- 6 www-data www-data 4096 Apr 30 18:06 updater
-rw-r----- 1 root www-data 163 Apr 28 00:08 .user.ini
-rw-r----- 1 root www-data 218 Apr 26 21:44 version.php
server-nas-diagnostics-20170501-0727.zip