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

    https://survey.webpros.com/

Issue Php upload permission problem

Balanca

New Pleskian
Hello,

I am new to Plesk and have a problem with permissions when uploading a file with PHP. PROBLEM: Directory is not writable (owner and group is www-data).
I copied all uploaded files from my old server to a new one with Plesk installed. If I give the directory 777 permissions then the file gets uploaded with owner "my domainuser" and group psacln. Since I don't want to have directories with 777 permissions and I would like the owner and group of the directories to stay www-data I am trying to find a way to be able to upload files.. But I can't seem to find a solution, can anyone help?

Thanks in advance
 
Back
Top