I want to install owncloud on my Raspberry-pi (Model B), I've got it running but only on my SD-card. Now i want to set the data on my External HDD.
I've added the follow line in /etc/fstab, so the HDD will be mounted on boot.
/dev/sda1 /media/New/ ntfs-3g rw,gid=500,umask=0007,defauts 0 0
Umask is setting the permission to 0770, this is necessary by owncloud. But the data directory (in my case /media/New/Cl/data) must be 0777. Is there a way to set the permissions of every folder to 0770 except the data directory? (0777)
I'm using my hard disk for other data to, so formatting the disk to an other format isn't really possible.
I'm new to Linux, so any help is welcome!