Is there a way to force permissions on newly created files, similar to umask, but in reverse?
I already know I can kludge it with a cron job, but I am hoping that there is a better way.
The setup I'm working from is this: A vsftpd server, with no anonmyous logins. One group of users can upload or download, some (different group) can just download. I want to make it so when up-loaders create a file or directory, the permissions on the files they upload are changed so everyone in the same group (uploaders) can read or write, but the downloading users can only read the files.
Trouble is that vsftpd by default sets the permissions on the file to 0700, while I need 0775. It also only allows user and permission changes on anon user uploads.