File Access Permission for Server-side Batch Processing

Hi,

Just a quick question, for example I have a server-side batch job that performs read/write to a specific folder, who should have permissions to that folder? AOS Service Account?

Thanks in advance.

If the class extends from RunBaseBatch you could use the runImpersontate method to run on behalf of the user who scheduled that run. Regarding the ones that don’t have that method I am not sure, should be easily tested.