• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

[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