The setup is we have a VPS running Debian Squeeze, and I've set up a shared directory for us to share files. So far I've followed this guide:
http://www.cyberciti.biz/faq/linux-setup-shared-directory/
I've also set the umask to 002 correctly (see the comments on that guide), so we can both now create files and directories directly on the server and we both have read/write permissions on them.
The only problem is that a lot of our files are created on our local machines (both running Ubuntu 10.10), and then dumped on the server. This results in only the creator of the file/directory having write permissions on, and the other member of the group I set up for sharing this folder only having read access.
My next thought would be to change the default umask on our local machines, but it seems a bit extreme to have to do that, and I don't know if it's a security risk.
Can someone tell me if there's a better solution to what I'm trying to achieve, or if this really is the way to go?
Many thanks in advance
dumped
onto the server ? If using ftp which ftpd is running on the server ? – Mar 16 '11 at 08:53ps aux | grep ftp
on your server and tell us which ftp daemon is running - it's likely vsftpd|proftpd. – Mar 16 '11 at 11:53