I am connecting to a web server running Debian. Our team uses Apache, and all users are members of the www-data group. When we connect to this server via SFTP (e.g. Transmit), all of our recently downloaded files accept a group name that matches the username (i.e. Their main group).
Is there a way to change this default group assignment to www data in SFTP? At the command prompt, you can enter:
$ newgrp www-data p>
Assigning the current user primary group to www data. All new files created by the user are assigned to this group. Is there an SFTP equivalent?
user496650
source share