Article ID: 117920, created on Oct 12, 2013, last review on May 10, 2014

  • Applies to:
  • Web Presence Builder 11.1

Unable to publish site, the following error is shown in the log:

2013-09-26T17:00:47+02:00       [DEBUG] /JsonApi/       Publication process started.
The site UUID: bcc2c883-88ee-2dad-e5c9-75022b2dfc04
The publication target: xcopy://VHOST_DIR/DOMAIN.TLD
The publication URL:  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
2013-09-26T17:00:47+02:00       [EMERG] /JsonApi/       Base_SyntaxException: PHP Warning : copy(/VHOST_DIR/DOMAIN.TLD/css/navigation-8e2f4b7a-4183-9fe0-20c8-a2becefdffd8.css) 
[<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
file: /usr/local/sb/include/Base/Utils/File.php
line: 211

Where /VHOST_DIR/DOMAIN.TLD is virtual host directory of the domain where to the site it published.


Incorrect ownership of domain's virtual host directory: /VHOST_DIR/DOMAIN.TLD


Fix permissions for directory /VHOST_DIR/DOMAIN.TLD and all files/directories inside - they should be readable and writable by apache user.

Search Words



failed to open stream: Permission denied

25a1611eb95ea6cb4b7c7f9c88e99a58 56797cefb1efc9130f7c48a7d1db0f0c 9305481d3bd31663b68451e3bfdec5a5

Email subscription for changes to this article
Save as PDF