Who is the owner? Unix permissions are respective of the owner.
Let's assume your webserver is a system user called www-data (as is the
case with most Debian-based systems). Then a file with permissions 744
would only be writeable by the *webserver* if it were actually *owned*
by the *webserver*. If the file were owned by root or some other user,
then it would not be writeable by the webserver.
To find out who/what owns a file, then cd to the directory containing
the file, something like this (modify path to suit your situation):-
Then run the unix list command thus:-
This will list all the files complete with their owners, groups and
permissions. If it is a very long list, then this command will list just
ls -l *.php
HTH best wishes, G.
On 09/08/12 14:22, cwc1885 wrote: