Add permission to apache user to write to directory

Discussion in 'Apache' started by afactory, May 21, 2010.

  1. #1
    Hi,

    I have dedicated server with LAMP installed.
    There is a domain hosted there and particular user create for this domain. This iser has SSH and FTP for domain folder.

    Let's say we have domainuser which is belongs to domainusergroup.

    So this domain folder /public_html is accessible only for domainuser and domainusergroup.
    Apache user has only read permission there.

    But my site need to write some files in a few directories and it seems that apache user has no such privileges.

    So my question is how to allow apache to read/write/execute for some folders?

    Thank you in advance.
     
    afactory, May 21, 2010 IP