PI Posted December 17, 2006 Share Posted December 17, 2006 Hi,I hope someone can help me out with this. I am not an expert in php, but am learning. I have a site that I run on a Mac mini. Basically others upload image, audio, and video files to it using some php scripts. I cannot get in touch with the person who wrote the upload scripts for me. Everything works great, but the permissions on the uploaded files need to allow for everyone (chmod,0777) to read and write. This is run on a local network, so I am not really concerned about the rwx for everyone. I need it to allow for the local admin account on the mac mini to play the uploaded files in quick time. I went through the php.net site and tried everything I could think of. The scripts I have uses functions, which I don't understand. I have attached the scripts. You will see that it creates the directory and chmods it to 0777, if it dosn't exist, but when the files are uploaded, they are always:-rw------- 1 www wheel 4300338 Dec 16 23:32 video.MOVAny help would be greatly appreciated. Thanks,Pete[attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/30989-uploaded-file-permissions/ Share on other sites More sharing options...
PI Posted December 17, 2006 Author Share Posted December 17, 2006 Thanks to those who looked at this for me.I am learning PHP. And this forum is a great help to n00bies like me. Link to comment https://forums.phpfreaks.com/topic/30989-uploaded-file-permissions/#findComment-143015 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.