Do I need a Samba share if I have SFTP working?
I have a virtual Ubuntu server set up, and the only file-sharing required is between my windows host and the /var/www directory on the Ubuntu server. I using this setup primarily for Wordpress configs. What I've already done is created another user called wwwuser and assigned him to the www-data group with read/write permissions as follows:
sudo usermod -g www-data wwwuser
sudo chown -R www-data:www-data /var/www
sudo chmod -R 775 /var/wwwUsing FileZilla I can sFTP to the /var/www folder successfully and read+write to it. The only case where I can see Samba benefiting me is if I need to transfer files from the Samba share directly to a live remote server.
Am I missing something else? Apologies also, I am relatively new to Linux in general, but learning more all the time.
11 Answer
No, you do not need Samba. Even in your "only" case, you could just connect to the remote server directly - you wouldn't need Samba for that.
1