I would like to start off by saying I am relativity new to Owncloud and Linux so you may have to be patient with me sorry.
I have installed Owncloud on openmediavault on a raspberry pi with an external ntfs hdd which has been a task in itself.
Anyway I have got to the point where i have setup the admin user and the database on owncloudbut I cant go any further because ive got this error Your Data directory is readable by other users Please change the permissions to 0770 so that the directory cannot be listed by other users.
I understand there are some issues getting permissions working with ntfs but i have successfully executed these commands in ssh to try and solve the problem but no joy
Ok I have backed up and erased data on the drive and tried to re-add the drive as ext4 but I cannot do so as i get this error when trying to mount the disk
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sda1' 2>&1' with exit code '1': mount: can't find mount source /dev/sda1 in /etc/fstab
Well, the docs say that implicitly. Only Linux is supported as a server operating system (https://doc.owncloud.org/server/10.0/admin_manual/installation/system_requirements.html#server). As you can't install Linux on a NTFS partition you can't use ownCloud with it either. In the end it does not make sense to list all "supported/unsupported" file systems in the docs. You can only use ownCloud Server on Linux so you can only use the file systems that Linux runs on as a primary storage (apart from storages you connect via S3 but that's another story).
You have to format the disk/partition with a Linux file system like ext4 and mount it. Can't help much on this with the information provided. There's lots of resources out there on formatting and mounting so just give your favorite search engine a try.
In general i'm not really convinced by your arguments, e.g. the OP is still using Linux as the server operating system and just only moved the data directory on a NTFS partition (which is supported mostly natively by linux). Adding to this there is the external storage app with the "local storage" option bringing even more complexity into this.
I don’t have a QNAP so I can’t try it myself, but have you considered going into the folder settings and changing the permissions? I think this should be available through the web interface via a right click. Otherwise you will have to figure out how to log in via SSH and set the permissions with chmod.
Did you find a solution to this issue?
I have tried uninstalling the app from my QNAP and re-installed again. Now I don’t get that message. However, I am still not sure how to connect NAS to owncloud. I have tried using SFTP, I think i miss something. If you have something to share, that would be great.
Hi, I think that i resolve it another time… but I can’t to resolve again… I’m remove data folder and use simboliclink, to drive NTFS mounted in /media/user/drive/owncloud, I resolve some errors messages… but I have this error
Please change the permissions to 0770 so that the directory cannot be listed by other users.