I have a Centos VM with Samba server and a user on that machine called smbuser in group smbuser. I can connect to my samba share /home/smbuser from my Windows 7 PC no problem. Also on the Centos VM I have another folder /home/ftpuser owned by ftpuser:ftpuser. I set up another samba share to allow smbuser access to this folder but when I try to connect to it from the Windows machine I get an access denied error. So I changed ownership of the ftpuser folder so it was owned by smbuser and it works.
The problem is now that I can't connect to ftpuser with my ftp client. I need both means of access - smb for working on files and ftp for transferring large quantities of data as fast as possible. (Samba is slow). I tried putting the smbuser into the ftpuser group but that didn't work. Please could someone enlighten me - I'm new to the concept of unix groups and exactly how they work.