View Single Post
jeff560
 
 
2005-11-14, 19:25

Is there a way to make new files uploaded by FTP to the Apache web server have permission set to public read automatically?

Here is more detail. I do a school web site which uses the Apache web server that comes with Mac OS X. If I upload a file from my computer by mounting the hard drive of the web server and dragging it there, the file permission is public read. But several other teachers are set up as users of the web server computer and they put the files for their web pages in the sites folder in their home folder. They upload the files by clicking "publish" on their web page authoring program and the files arrive by FTP to the web server but are not public view. They could use an FTP program to change the file permissions but that would greatly complicate the process for them. If they replace an existing file that is already public read, the new file will carry the same permission, but if they upload a new file, it is not accessible to the public.

I hope the solution does not involve writing a script, as I don't know how to do that.

Thanks in advance for any help!
  quote