Question
Ubuntu 14: Owner / Group Uploads (dummie question)
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! :)
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.
×
It seems you have gained SSH to your server as “root” user while uploading the files.
Hence the issue.
Fix is to chown the files
Hope it helps