If i make directory via php, it's owner is marked as :
drwxrwxrwx 2 httpd customer 4096 Nov 12 02:22 asa
BUT i cannot upload anything to it by php.
Ftp Made directories look like this:
drwxrwxrwx 2 usernamex usernamex 4096 Oct 14 06:17 asetukset
Can i get around this. I really wouldnt want to create >400 folders manually...
User issue
Moderator: General Moderators
check to see what the permissions are for the folders
if find quite often i have to use [php_man]umask[/php_man]() before creating directories to get the permissions right/
Code: Select all
<?php
mkdir("/path/to/my/dir", 0700);
?>-
Shendemiar
- Forum Contributor
- Posts: 404
- Joined: Thu Jan 08, 2004 8:28 am