Authorization to data folder

We have our data file outside the NC folder. (/ data) The authorization is standard www-data for user and group. The ChMod is 770 but then we cannot backup the data folder. If we change the ChMod to 775 then this is possible. Now the following occurs if ChMod is at 775 then it will be automatically reset to 770. I it is possible to secure it via the config file so that we can make backups.