• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

[Help] Problem file permission Ubuntu-PHP uploads.

Z

Zeo Smeijsters

Guest
When uploading files with PHP normally (on all my other boxes and previous owned servers) the files where saved with the same permissions as the owner of the domain.

However I switched to Ubuntu 8.04 the other day, they system is much faster with the same resources as Fedora or CentOS.

Now I have this one issue I can't seem to solve.

When uploading files with the PHP-script using the normal fwrite() the files are saves as user www-data..
This would not be a big issues, however when I try to remove or edit them with one other PHP-script I get a permission deny error.

This is an out of the box installation from my hosting provider. But because the same PHP-script works fine on FC and CentOS I assume it must be some Plesk/Apache setting.

Any help or advice would be welcome.
 
Back
Top