• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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