move uploaded file to non-webroot php : permission denied -
move uploaded file to non-webroot php : permission denied -
so want move file after upload local path (say /proj/xxx/sharing)
i have given permission of 777 directory, , owner/group dir www/www (php user)
sudo chmod -r 777 sharing/ [user@localhost]$ sudo -u www mkdir /proj/xxx/sharing/dd mkdir: /proj/xxx/sharing/dd: permission denied
output of ls -l :
drwxrwxrwx 2 www www 512 oct 22 15:48 sharing
still php complains beingness denied permission when seek either mkdir, rename or cp /tmp folder.
any ideas might cuplrit?
how this?
sudo chmod -r 777 /proj/xxx
please ref this link
php file-upload copy
Comments
Post a Comment