This brief tutorial is going to show you how to enable advanced file sharing in both Windows 7 and Ubuntu 12.04 (Precise Pangolin). Windows 7 and Ubuntu 12.04 may be different in many ways, but are almost similar in many functions. Almost everything you do in Windows 7 can be done in Ubuntu 12.04, and file sharing is one of them. File sharing enables you to provide full or limited access to resources based on user accounts. With this type of file sharing, especially on different systems, the user(s) must already have accounts on the local computer the resource is being shared. Without a local account, the user won’t be able to access local resources.

Objectives:

  • Enabling Advanced Sharing in both Windows 7 and Ubuntu 12.04
  • Enjoy!

 

How to Enable Advanced Sharing in Windows 7

To enable advanced sharing in Windows 7, right-click on the folder you wish to share and select ‘Properties’

 

advanced_sharing_precise

 

Next, select ‘Sharing’ tab and click ‘Advanced Sharing’

 

advanced_sharing_precise_1

 

Then check the box to ‘Share this folder’ 

 

advanced_sharing_precise_2

 

Next, click ‘Permissions’ button and choose the users you want to have access to the shared folder and click OK.

 

advanced_sharing_precise_3

 

That’s it!

 

 

How to Enable Advanced Sharing in Ubuntu 12.04 (Precise Pangolin)

To enable advanced sharing, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to install system-config-samba package.

sudo apt-get install system-config-samba

 

advanced_sharing_precise_4

 

After that, go to Dash and open Samba.

 

advanced_sharing_precise_5

 

Next,  click the Add button (plus) , then browse to the folder to wish to share and open it. Then enable Write and Read permission on the folder.

 

advanced_sharing_precise_6

 

Next, select the ‘Access’ tab and enable the users you wish to have access to the shares and click OK.

 

advanced_sharing_precise_7

 

After that, run the commands below for each user account to add it to Samba database. This will allow you to create new password for Samba. It’s always good to use the same password as your Ubuntu account.

 

sudo smbpasswd -a <username>

 

advanced_sharing_precise_8

 

That’s it!

 

To access the shares from Windows 7, go to Start –> All Programs –> Accessories –> Run and type the share path as shown below.

\\IP Address or Hostname\shared_name

 

advanced_sharing_precise_9

 

To access the shares from Ubuntu, press Ctrl – N to open Nautilus. When it opens, go to ‘Go –> Location..’

 

advanced_sharing_precise_10

 

Then type the address as shown below:

smb://IP Address or Hostname/shared_name

 

advanced_sharing_precise_11

 

Enjoy!