I have an ownCloud jail that's running ownCloud 8.0.4, MariaDB 10.0 and lighttpd. I added a storage type of NTFS, through the FreeNas GUI, to the jail. I mounted the storage to /mnt/owncloud_data/. I mapped the data directory in the ownCloud installation to the mounted storage. ownCloud is giving the following error.
Data directory (/mnt/owncloud_data) is readable by other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.
This isn't an uncommon event and I've seen posts to fix this through the /etc/fstab file. I've looked in this file and it's empty. Since FreeNas has mounted the storage into the jail I don't think the /etc/fstab is getting filled in like it would with a normal mount.
How do I fix the NTFS permissions so that the ownCloud jail has the 0770 permissions it needs?
Obara
Data directory (/mnt/owncloud_data) is readable by other users
Please change the permissions to 0770 so that the directory cannot be listed by other users.
This isn't an uncommon event and I've seen posts to fix this through the /etc/fstab file. I've looked in this file and it's empty. Since FreeNas has mounted the storage into the jail I don't think the /etc/fstab is getting filled in like it would with a normal mount.
How do I fix the NTFS permissions so that the ownCloud jail has the 0770 permissions it needs?
Obara