cannot upload to folder. Permission error please help

asking

Verified User
Joined
Jul 8, 2010
Messages
58
6olwdj.png


Hello guyz,

m getting error i cannot upload to Gujarati_songs folder on right side its showing Apache user.

now what should i do ? please help....this folder is created by script but it should be admin instead of apache.
 
thanks for your help... but how to make it default ? that every folder created by my script will be admin as default owner... :(

please help me... i would be.. grateful...
 
When php is run as an apache module everything created by php will have the same ownership as apache. That's because the creation is being done by the apache user.

If it's not your server, contact your hosting company.

If it is your server you can either rebuild your system (use custombuild) to reinstall php as a cgi, or you can set up a cronjob to keep changing all the files for the domains for which it needs to be changed.

Jeff
 
When php is run as an apache module everything created by php will have the same ownership as apache. That's because the creation is being done by the apache user.

If it's not your server, contact your hosting company.

If it is your server you can either rebuild your system (use custombuild) to reinstall php as a cgi, or you can set up a cronjob to keep changing all the files for the domains for which it needs to be changed.

Jeff

how to rebuild/ custom build ? so that every folder created will have admin as default ownership ?

m waiting for your detailed answer....
 
Is it your server? Do you have full root shell access? If not, then only your hosting company can help you.

If you have full root shell access and server administration skills, you can find complete information here, in the CustomBuild FaQ. You may need to do other things for php to work well for you as cgi; there are other threads you can search for and follow, for example, to set up PHP to use separate php.ini files for each user already on the server and for new users to be added later.

If you don't have the necessary skills you may need to hire a server administrator to do the work for you.

Jeff
 
Back
Top