Skip to main content

How to Share Files Between Windows and Linux

We’ve previously covered various ways to share files between nearby computers, but sharing between Windows and Linux can be a little more complex. This article will show you how to map shares across both operating systems for seamless file sharing.

There are basically two parts to this guide: Creating the shared folder on Windows and configuring Linux to access it, and creating the shared folder on Linux and configuring Windows to access it. Depending on your situation, you’ll want to follow the appropriate set of instructions. If, for some reason, you want to set up shared folders on both systems, you can do that, too. This guide will cover Windows 8.1 and Ubuntu, but we’ve made it adaptable to virtually any version of Windows or Linux.

Creating the Share on Windows

To set up a shared folder on Windows for Linux to access, start by making sure your network settings are configured to allow the connection from the other computer by opening the Network and Sharing Center.



In the Network and Sharing Center window, click on “Change advanced sharing settings.”



For your current profile, adjust the following two settings:
-       
  Turn on network discovery

- Turn on file and printer sharing




Click on “Save Changes” after those settings are configured. Now we can create a place on the Windows computer for the Linux machine to see files and copy contents to. There are no limitations to what you can share out (you could theoretically share your entire hard drive), but we will just be sharing out a folder called “Share” located on our Desktop.
Right click on the folder you’d like to share out over the network, and click Properties. Go to the Sharing tab and click Advanced Sharing.


Check the “Share this folder” box and click on “Permissions” toward the bottom.






In the Permissions window, you can restrict access to the folder for certain accounts. To let any user have access to your folder, just give Full Control to the Everyone user. This will allow anyone to read and write changes to the shared folder. If you would rather restrict access to certain accounts, just remove the Everyone user and add the users you’d like to grant access to. Note: These user accounts are on the Windows computer, not Linux.



Click OK on the Permissions and Advanced Sharing windows once you’ve made your changes. While still in the Properties menu, click on the Security tab.



For the Linux user to have access to the shared folder, the same permissions need to be configured in this tab as what we configured in the sharing settings.  If the two settings don’t match, the most restrictive settings are the ones that will take effect. If your desired user already has their security permissions set up (such as the geek user in our example) then you’re good to go and can click Close.
If you need to add a user, such as Everyone, click on Edit.


Click on Add in the next menu, enter the username, and click OK.


Click OK on all the open windows, and your folder should now be shared out and accessible on your Linux computer.

Accessing the Windows Share from Linux

You should be able to mount the shared folder by using the GUI in Linux, but it’s also very easy to do with the command line, and it’s easier to show a terminal example because it will work across many different distributions.
You’ll need the cifs-utils package in order to mount SMB shares:

Comments

Popular posts from this blog

Session Messenger----Best Secure Messaging App

  Session is fundamentally different than most other secure messaging services. Conversations in Session are secured using  client-side E2E encryption . Only the sender and the recipient of a message can read it. But Session goes beyond providing message security. Session also  protects the identities  of its users. It makes your communications private and anonymous, as well as secure. Session can do this because it  connects users  through a  Tor -like network of thousands of  Service Nodes . Service Nodes are servers that pass messages back and forth through the network as well as provide additional services. The  onion request  system that Session uses to protect messages ensures that no Service Node in the network ever knows both a message’s origin (your IP address) and destination (the recipient’s IP address). This allows you to  hide your IP  by default. Session takes a number of additional steps to protect your identity: No phone number is required for registration No email is r

Tiny 11 - A Lightweight Windows 11 that can run on 2GB RAM and requires less harddisk space.

  In terms of Windows 11, its   system requirements   are high since this system requires at least 4GB RAM, 64GB storage space, enabled TPM & Secure Boot, a high CPU (1 GHz or faster with 2 or more cores on a compatible 64-bit processor), etc. compared to any old Windows operating systems. If you have an old or lower-end PC, Windows 11 is not a good option to install since many issues like random crashes, blue screen errors, etc. could appear on the unsupported hardware. Overview of Tiny11 If you want to run Windows 11 on your old computer with low RAM and disk space, Tiny11 appears in public. It is a project from NTDev and Tiny11 is a Windows 11 tiny edition. This edition is based on Windows 11 Pro 22H2 and includes everything you need for a comfortable computing experience since this tool doesn’t have the bloat and clutter of a standard Windows installation. Tiny11 Requirements In terms of Tiny11 requirements, a scant 8GB of storage and just 2GB of RAM are required and Windows 11

Linuxfx 10 : A Windows-Like Linux Distro

The idea of Linuxfx is to make it easier for people who are migrating from Windows 7. People who are dissatisfied with the lack of security and stability of Windows 10 are also fit for Linuxfx. LinuxFX Desktop : Apart from Windows-like looks, Linuxfx also has more to offer which a regular user will definitely admire. So, let’s get along with me to know more about Windows alternative Linuxfx. As usual, I started by downloading the ISO image of Linuxfx from the official site  here . Then, instead of dual-booting, I decided to install it on my VirtualBox to play safely. After finishing the basic configuration, as soon as I booted it, I noticed a Windows logo and system integrity check. That’s quite surprising because every Linux distro puts their own or OEM logo on that place. But I think Linuxfx wants to make migrating users feel like home from the beginning. Entering the boot menu, Linuxfx redirected and logged in to a live session. Whoah! it can also detect the system I’m using — anoth