• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Please help, apache.apache user, doesn't give good right on file

S

stevenf

Guest
Hello

When my customer put in the past with php something, like create a image file or something else, the file have this right

bicho psacln 60029 déc 22 18:18 re-2004-08-30-16-29-38.jpg


bicho.psacln

now on all the server, files have

apache apache 31724 déc 20 18:25 re-2005-12-20-18-25-31.jpg

apache.apache

Please help me i've search on all .conf file and didn't find anything, does someone have encounter the problem before me ?

:(
 
Don't know off the top of my head but look for something called a "umask"
 
In the php - before you create a file use the command

Code:
umask(0033);

This will create all new files readable. WARNING: never have php write into an area that someone could access using a web browser - you are setting yourself up to be hacked.
 
thanks for your answer and thanks to help me , in fact my problem is that plesk have do the job to assign right user.group on created file in the past and now apply apache.apache, dunno why, and searching the solution.
 
Back
Top