[Wylug-discuss] 777 access on an images directory

Stephen Patterson steve at patter.mine.nu
Fri Oct 12 17:16:36 BST 2007


On 12 Oct 07, Mike Goodman (mike.goodman at zen.co.uk) wrote:
> But isn't that then the case for any directory containing files served up 
> by the web server? Sorry to be thick, but isn't it the permissions which 
> control who can upload files?

The webserver nyonly needs read permissions, so directories not owned by
the webserver would only need 755 perms and files not owned by the
webserver need only 644 perms.

Normally files would be uploaded to the webserver using a specific user
account and that user would both own & have write permissions on the
directory.

-- 
Stephen Patterson :: steve at patter.mine.nu :: http://patter.mine.nu/
GPG: B416F0DE :: Jabber: patter at jabber.earth.li 
"Don't be silly, Minnie. Who'd be walking round these cliffs with a gas oven?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://list.wylug.org.uk/pipermail/wylug-discuss/attachments/20071012/8b27822e/attachment.bin


More information about the Wylug-discuss mailing list