title: How to move a xml file to Postgres data directory in a script without superuser rights
body: <p>I have to import a xml file into a Postgres 9.4 database on SUSE SLES 12.</p>
  
  <p>I have a scriptfile executed by a cronjob, but I have to move the xml file from a sourcedirectory to my postgres data directory (because postgres xml functions need to have the file there. Like described here: <a href="https://stackoverflow.com/questions/19007884/import-xml-files-to-postgresql">Import XML files to PostgreSQL</a>).</p>
  
  <p>My question: How can I move the file to this directory using a script file?
  Is there a way to do it without superuser rights?</p>