1
So you know how CMS create files by themselves, well I can't find a fix to make those files automatically belong to the right group (the group for the SFTP users). Is there something I can do to prevent this, or should I setup a cron job or something similar?
You expect an answer when you don't tell use what CMS you are using? – DavidPostill – 2017-12-10T11:13:50.327
@DavidPostill Well no matter what the CMS, it's the files that are created by it that matter. It's just that the FTP users can't modify the files because they've been created by the system. This happens with all the CMS – RektibouCaribou – 2017-12-10T19:00:09.593
Wrong ownership when SFTP files? – DavidPostill – 2017-12-10T19:43:01.120
@DavidPostill Not exactly that, but I had an idea: maybe I should try to assign the FTP users to www-data group. Would that pose a security risk though? – RektibouCaribou – 2017-12-10T19:48:46.327
No idea. Sorry. – DavidPostill – 2017-12-10T19:49:22.137