M BUZZ CRAZE NEWS
// news

Do I need a Samba share if I have SFTP working?

By Emma Johnson

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/www

Using 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.

1

1 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy