Hi, I don't know how to solve this. In my drupal installation directory I have a folder called "tmp". I receive an error by drupal, I read it in the log, it says approximately: "can't write to tmp directory, because permissions are not correct". Sorry I'm traslating from italian. The permissions of tmp are 755. If I change to 777 I have no problem, but 777 is unsecure. Is 755 a wrong number for a directory? What should I put instead? thanks.
On Thu, 7 May 2009 22:39:25 +0200 "Simone Dal Maso" simone.dalmaso@juvox.it wrote:
Hi, I don't know how to solve this. In my drupal installation directory I have a folder called "tmp". I receive an error by drupal, I read it in the log, it says approximately: "can't write to tmp directory, because permissions are not correct". Sorry I'm traslating from italian. The permissions of tmp are 755. If I change to 777 I have no problem, but 777 is unsecure.
777 is really too much. What about the ownership of the directory?
What about the ownership of other files in your base dir? what were the default of your hosting provider?
Hi, you wrote:
777 is really too much. What about the ownership of the directory?
What about the ownership of other files in your base dir? what were the default of your hosting provider?
ah... When I open my ftp client, I have some directories created by my host provider. I must put all drupal files in the "httpdocs" folder. All the directories are created by the same user, but, the root directory like httpdocs has the group psaserv, instead all the subdirectories (tmp, files, modules etc) has psaclnt. so, they become to different group. Should I try asking my provider to change this? thanks!
On Fri, 8 May 2009 09:51:29 +0200 "Simone Dal Maso" simone.dalmaso@juvox.it wrote:
Hi, you wrote:
777 is really too much. What about the ownership of the directory?
What about the ownership of other files in your base dir? what were the default of your hosting provider?
ah... When I open my ftp client, I have some directories created by my host provider. I must put all drupal files in the "httpdocs" folder. All the directories are created by the same user, but, the root directory like httpdocs has the group psaserv, instead all the subdirectories (tmp, files, modules etc) has psaclnt. so, they become to different group. Should I try asking my provider to change this? thanks!
Sorry I didn't express myself completely. Look at permission and ownership. Before reaching 777/666 you've several step to try. 750, 755, 770, 775 for dirs 640, 644, 660, 664 for files