• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

[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