I am using Servoy Headless Client to write files from one server to another via a shared folder. The issues is that Servoy is using root privileges and hence the share will not recognise the written file. Is there a way to change the privileges Servoy is using for this process ?
The issue here was not in fact Servoy, it was where Servoy was writing files to.
The project requires Servoy to move streamed files from one server to another via a shared folder. The file therefore streams to the uploads folder in the servoy root directory and on completion the callback moves the file from there to /shared - this was the point where the file permissions were set to root rather than the expected ubuntu user. What we had not realised is that by placing them in /share we were intact instructing Linux to uplift their permissions to root and by moving /share to /home/ubuntu/share we corrected the issue.
What this now means is Servoy is able to stream video files to the server and on receipt move them to the Apache server for use with our mobile app.