[Gllug] Is this right? (Permissions question)

Adrian McMenamin adrian at newgolddream.dyndns.info
Fri Dec 29 19:30:21 UTC 2006


Sorry for the moronic question (assuming it is) - but I have just
discovered this behaviour and want to check I am right...

I created (as root) an images directory in my drupal heirarchy

It was created as 755 but as I wanted users to be able to write files to
it but not to do anything naughty like upload a file that pretended to
be an image and then execute it I changed it to 766 but then found I
could not actually cd to it - is that right?

Presumably the safe way to do this is to change ownership to www-data
and make it 700?

-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list