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
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