August 25th, 2000, 06:48 AM
I've made a Linux server with Suse 6.4. The server runs apache, php and MySQL.
Everything works fine except that if I upload files to my web directory with ftp I cannot access them. Apache gives the error that I haven't got the permission to read them. If I check the files in the webdir with ls -l it gives that only the root can read the uploaded files.
My question is: how can I upload files with the correct permissions (so everyone can read them)?
August 30th, 2000, 05:27 PM
You need to chmod your files. Log in to your shell, go to your web docs, and type:
chmod 0644 <filename>
Where <filename> is the name of a specific file or a wildcard expression denoting several (e.g. * for all, *.html for all html, etc. etc.)
August 30th, 2000, 05:37 PM