Mateobus Posted February 15, 2007 Share Posted February 15, 2007 Hello all, I am getting the following error when i run my script on my school's given webspace: Warning: copy(files/1171413168.jpg) [function.copy]: failed to open stream: Permission denied I am assuming that this means that the folder permissions aren't set to the correct settings. For our project we have to keep the main directory set at 711. Can I have a directory inside of the main directory set to something else that would allow me to upload files from the web? If so, what does it need to be set to? I am not too familiar with folder permission so any help is appreciated. Link to comment https://forums.phpfreaks.com/topic/38573-file-permissions/ Share on other sites More sharing options...
spfoonnewb Posted February 15, 2007 Share Posted February 15, 2007 Yes you can have a directory inside, you will probably need to set it to 0777, or 777. Link to comment https://forums.phpfreaks.com/topic/38573-file-permissions/#findComment-185132 Share on other sites More sharing options...
Mateobus Posted February 15, 2007 Author Share Posted February 15, 2007 Id like to buy you a coke spfoonnewb, thanks! Link to comment https://forums.phpfreaks.com/topic/38573-file-permissions/#findComment-185149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.