Writing To External In PHP Custom Script Service


#1

Hi everyone.

I am trying to write data to file that is outside the dreamfactory dreamfactory/storage and this doesn’t seem to work. Are there particular permissions I need to give dreamfactory. Current the install was done using root.


#2

@Larry_Parker when installing DF we advise the user to set the permission on the storage and cache directories as follows:
$ sudo chown -R www-data:dfuser storage/ bootstrap/cache/
$ sudo chmod -R 2775 storage/ bootstrap/cache/
I would check that any directory you are writing to has the proper permissions :beers: