Using jsp as a uploading script So the files are stored in the name of tomcat/tomcat owner/group. So i cant able to access it through php or i cant even use chgrp or chown anything through php.
Please tell me where i am wrong.
This is what my process
chown -R ss4udemo /var/www/vhosts/site.com/httpdocs/public/uploads/Toy_Story_695303/
chgrp -R apache /var/www/vhosts/site.com/httpdocs/public/uploads/Toy_Story_695303/
mkdir -m 777 /opt/adobe/fms/applications/vod/media/Toy_Story_695303/
mkdir -m 777 /opt/adobe/fms/applications/vod/media/Toy_Story_695303/converted
mkdir -m 777 /opt/adobe/fms/applications/vod/media/Toy_Story_695303/HQ
I am trying to change the user groups in tomcat conf Please tell me how to do it.
am seeing conf file in these two locations.
/etc/tomcat5
/usr/share/tomcat5
where i should change and what should i change.
Tomcat Owner/group problemRe: Tomcat Owner/group problemCould you try a "umask" command before running TOMCAT?
It should allow PHP process to access files written by TOMAT process.
Re: Tomcat Owner/group problemYes i did that, umask is now with 0022, so all folders are created with 755 and files are with 644, but files created by tomcat user is not taking this umask.
please tell me where i am wrong, i cant find it. And i made it with php uploader and that never ends after the completion of the first file again its starts from the beggining, so niether working for me. please tell me what should i do now |