Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 1 10
Impact
~53k people reached

Oct
7
comment SFTP permission denied on files owned by www-data
Hi @marty-fried, thanks for the answer, it gives me plenty to try out. Re. your questions. I pieced the info together from various sources (hence why I wrote it down into my own-use guide) and can't remember the exact source. Although I didn't use this particular source (solution 1) (I only just found it), it gives a good rationale for my decision. In the Apache guide you mention, it recommends creating a group called 'webmasters', but if I did that, how would Apache write to the /var/www without also adding it to that group?
Oct
6
awarded  Student
Oct
5
awarded  Promoter
Oct
4
comment SFTP permission denied on files owned by www-data
Hi, thanks for taking the time to answer, it's much appreciated. However, it doesn't really help. Chowning the files makes ALL of them unmodifiable when using SFTP (so kind of the opposite of what I'm after!). I can't really use the chmod workaround because a) I don't have permissions to chmod in SFTP; b) I don't really want to log in via SSH, change permissions, do my SFTPing, change back, etc.; and c) some files have different permissions for security reasons, so I can't chmod en masse anyway.
Oct
3
asked SFTP permission denied on files owned by www-data
May
23
comment How do I install Guest Additions in a VirtualBox VM?
I came across this answer while trying to install Guest Additions on Ubuntu Server. One step is missing if you need to install on server: run sudo apt-get install dkms first. (ref virtualbox.org/manual/ch04.html#idp19765808)
May
18
awarded  Supporter
May
18
awarded  Autobiographer