Link to home
Start Free TrialLog in
Avatar of jolly_joker
jolly_joker

asked on

Php script and File Usergroup Problem

Hello,

  I've just moved one of my servers but after the move i started to have file ovner problems with my centos 5.2 installation.

  When i create or upload a file it sets user group as  "usern:psacln" however with that user setting my script can not create files and folders for users uploads. When i change user group to user:nobody scipt can upload the files to these folders. But in each newly registered user a new folder is created and i have to manually change the file owner manually.

 How can i solve that problem completely? i heard smth about phpsuexec, can it solve my problem? if yes how can i solve that?

 centos 5.2 plesk 9.0

Thanks
 
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

when you moved your server, why user:nobody is not the userid and group id of the owner? can you change the user group to nobody? this can be done by usermod command
ASKER CERTIFIED SOLUTION
Avatar of jolly_joker
jolly_joker

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial