Settings permissions on /var/www

Posted by ed1t on Super User See other posts from Super User or by ed1t
Published on 2010-05-09T16:04:54Z Indexed on 2010/05/09 16:09 UTC
Read the original article Hit count: 169

Filed under:
|
|
|

I'm running ubuntu server and have apache installed as a web server. I'm letting my web developers upload files through sftp (ssh) to /var/www. I'm using www-data group to control access to /var/www folder. They are able to upload the files successfully but when they try to access that file in a browser, they get a 403 forbidden error.

How do I make sure that when the files are uploaded, the permissions are set right?

© Super User or respective owner

Related posts about sftp

Related posts about file-transfer