I did everything according to these instructions on the OwnCloud forum but I get the error:
Data directory (
/mnt/usbdrive/owncloud/) is readable for other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.
I gave the permissions like:
chmod 0770 /mnt/usbdrive/owncloud/
and I changed my /etc/fstab
I used:
chown -R www-data:www-data /mnt/usbdrive/owncloud/
as well. But I still get that error when going to owncloud
This is what my /etc/fstab looks like:
[
EDIT: This error only comes up when I change the data directory. If I keep it the same, I can acces it normally.
/mnt/usbdrive/owncloud/is on a filesystem like FAT or NTFS that doesn't support Unix-style permissionschmodandchowndon't work and you have to set the permissions using mount options. Please add the content of your/etc/fstabto your question. – Florian Diesch Nov 22 '13 at 13:48ls -ld /mnt/usbdrive/owncloud /mnt/usbdrive– Emmanuel Nov 28 '13 at 16:40drwxrwxrwx 1 root root 65536 nov 22 10:51 /mnt/usbdrive
drwxrwxrwx 1 root root 4096 nov 21 16:43 /mnt/usbdrive/owncloud
– Loko Nov 28 '13 at 16:47