How to Share a Folder

Опубликовал Admin
17-11-2020, 03:10
1 114
0
Do you have multiple computers attached to your home network? You can increase efficiency and easily share between all of your computers by creating shared folders. These folders can be accessed by any other computer on the network that has permission, and is a great way to quickly access the files you need anywhere on your network. See Step 1 below to learn how to share folders on any operating system.

Windows

  1. Ensure that File and Printer Sharing is enabled. In order to share specific folders, you will need to have this feature enabled. The method for enabling it varies slightly depending on which version of Windows you are using. It is highly recommended that you do not enable folder sharing when on a public network such as a school or coffee shop.
    • Windows 10 - Open control panel and click Network and Internet. Click Network and sharing center. Click Change advanced sharing settings to the left of your network name.
    • Windows 8 - Right-click on the Network icon in your system Tray in the Desktop view and select "Network and Sharing Center". Click the "Change advanced sharing settings" link. Expand the profile that you want to enable sharing on (Private or Public). Turn on both "Network discovery" and "File and printer sharing". Click the "Save changes" button and enter your administrator password if necessary.
    • Windows 7 - Click the Start button, type "control panel", and press ↵ Enter. Double-click the "Network and Sharing Center" icon. Click the "Change advanced sharing settings" link. Expand the profile that you want to enable sharing on (Home/Work or Public). Turn on both "Network discovery" and "File and printer sharing". Click the "Save changes" button and enter your administrator password if necessary.
    • Windows Vista - Click the Start menu and select Control Panel. Click Network and Internet, and then select Network and Sharing Center. Expand the "Network discovery" and "File and printer sharing" entries in the "Sharing and Discovery" section. Make sure both are turned on. Click the "Save" button for each entry.
    • Windows XP - Click the Start button and select Control Panel. Open Network Connections. Right-click on your network connection and select Properties. Check the "File and Printer Sharing for Microsoft Networks" box.
  2. Find the folder you wish to share. Once File and Printer Sharing has been enabled, you can share any folder on your hard drive with other people on your network. Navigate to the folder that you want to share using Explorer. Right-click on it.
  3. Select the "Share with" option. This will open the Sharing submenu. You can choose to share it with everyone in your Homegroup or select specific people to share it with.
    • When choosing a Homegroup option, you can allow other Homegroup members to both read and write to the folder, or limit them to just read from it.
  4. Click the "Specific people" option to select which users you want to share with. This will open a new window with a list of all the users that currently have access to the folder. You can add users to this list and give them specific permissions for the folder.
    • To share the folder with everyone, click the dropdown menu at the top and select "Everyone". Click the Add button.
    • To share with specific users, click the dropdown menu and select them or type in the name and click Add.
  5. Set permissions for users on the list. Find a user on the list that you want to change the permissions for. Look in the Permissions Level column, and click the arrow next to the existing permission. Select the new one from the list.
    • Read - User can see, copy, and open files from the folder, but cannot change files or add new ones.
    • Read/Write - Besides Read abilities, users can change files and add new files to the shared folder. Files can be deleted by users with Read/Write permissions.
    • Remove - Removes permissions for this user, and removes them from the list.
  6. Click the Share button. Your permission settings will be saved, and the folder will be available on the network for all allowed users.

Mac OS X

  1. Open System Preferences. Click the Apple menu and select System Preferences. Make sure that you are logged in as an Administrator.
  2. Click the Sharing button. This is located in the Internet & Wireless section of the System Preferences. This will open the Sharing window.
  3. Enable File Sharing. Check the box labeled "File Sharing" in the left frame. This will turn file sharing on for your Mac, and will allow you to share files and folder to other users and other computers on the network.
  4. Add folders you want to share. Click the "+" button to open the Finder window. Browse for folders that you would like to share. If you want to share a specific file, you'll need to create a special folder for it. Click Add when you've selected a folder.
  5. Share the folder to Windows computers. By default, shared folders will only be accessible by other Mac computers. If you want to share it with Windows users, select the folder in the Shared Folders list and click Options. Check the "Share files and folders using SMB (Windows)" and then click Done.
    • You can set permissions for the folder using this
  6. Set permissions for the folder. Select the folder in the Shared Folders list. The Users list to the right will show what users are currently allowed to access the folder. Click the "+"" or "-" buttons to add or remove users from the list of allowed users.

Linux

  1. Install the software to mount the shared folder. To access a Windows shared folder, you'll need to install the SMB protocols to allow it.To do this, open the Terminal (Ctrl+Alt+T) and type sudo apt-get install cifs-utils.
  2. Create a folder to act as the mounting location for the shared folder. Create a folder somewhere that is easily accessible. You can do this from the GUI desktop or from the terminal using the mkdir command. For example, to create a folder called "sharedfolder" on your desktop, type mkdir ~/Desktop/sharedfolder.
  3. Mount the folder. Once you've created a folder to act as the mounting location for the shared folder, you can mount it to link it to the Linux computer. Open the Terminal again and enter the following command (Based on the previous example of creating the folder "sharedfolder"):
    • sudo mount.cifs //WindowsComputerName/SharedFolder /home/username/Desktop/sharedfolder -o user=WindowsUsername
    • You will be asked for the root password for your Linux installation as well as the password for the Windows user account.
  4. Access the folder. Opening the mounted folder will allow you to access the files. You can add and remove files as you would any other folder. You can also use the terminal to access the files in the shared folder.

Tips

Warnings

  • Keep track of who you are sharing your folders with. If there is content you do not want seen, changed, or deleted, make sure to disable sharing permission.
  • Unprotected wireless networks will allow nearby users you may not know with wireless access to access your folder.
Теги:
Information
Users of Guests are not allowed to comment this publication.