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 (ownCloud Documentation Overview). 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.
Right I have formatted the disk it works fine now thankyou. Next issue I had over 200 GB of data on the drive i backed up I want to put it back in my ownclouds user folder where is this located?
I am getting the same issue after update the ownCloudX with the new version recommended by the App Center. Did you contact Qnap? I contacted them, but no reply yet.
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.