Report this

What is the reason for this report?

Ubuntu 14: Owner / Group Uploads (dummie question)

Posted on September 18, 2014

Hello!

When I upload a file or directory to my directories with " www-data www-data owner " the file appears with root root owner, as you can see in this capture: http://i.imgur.com/PZO0h7d.png?1

How can i upload a file or directory with www-data www-data owner/group by sftp?

Thanks! :)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Yes! I use filezilla in sftp mode. Can i login in filezilla with www-data user? I don’t know his password. Thanks for reply valley :))

I fix is to chown the files and now works perfect.

Thanks again valley_webuzo! ;)

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.