PHP Function Rename Permission denied

后端 未结 3 398
予麋鹿
予麋鹿 2021-01-05 03:34

In server, script create new folder, set chmod to 0777, but then it tryes to move files to that folder i get error: Permission denied.

mkdir(\"../\".$new_1,          


        
3条回答
  •  攒了一身酷
    2021-01-05 03:52

    you'll need to have read and write permissions in the source folder, too.

    only having permissions for the target-folder isn't enough as the file is removed from it's source.

提交回复
热议问题