I am mounting the ownCloud data directory with this (mounts a WD EX2):
//10.0.0.3/ownCloud /owncloud cifs credentials=/home/server/auth/.smbcredowncloud,rw,uid=33,gid=33,iocharset=utf8,file_mode=0770,dir_mode=0770,sec=ntlm 0 0
These are the directory perms:
drwxrwx--- 2 www-data www-data 0 Oct 3 03:48 owncloud/
On the installation it can't continue due to lack of permissions and if I mount the dir after installation then the files that are not www-data are removed and the .ocdata not found message appears.
Is that fstab line correct for ownCloud?