By gorrac
I’ve been ignoring this issue for now by using root in filezilla, but how can i get my other users to make uploads and changes?
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!
Got a similar issue. I use winscp. I can add, delete and modify files and folders with my non-root user but any new files or folders I create/upload I cannot change ownership from my non-root user to www-data, I get permission denied. I have always have to open a terminal to chown which is a bit of a pain. Any way around this?
I’m having the same issue and haven’t been able to resolve it using any suggestions here or elsewhere. My user is part of the admin and www-data groups and /var/www/* is all owned by www-data, but I can’t upload or modify anything. Logging in as root works, but I’d like to avoid that. <br> <br>If it matters, I’m using Transmit, the Mac GUI.
@p_ingram3541: Run <pre>sudo chgrp www-data /path/to/dir <br>sudo chmod g+s /path/to/dir <br>cd /path/to/dir <br>sudo umask 002</pre> <br>Does that fix it?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.