Documente Academic
Documente Profesional
Documente Cultură
- Ask Ubuntu
Ubuntu Community Ask! Developer Design Hardware Insights Juju Shop More
›
Log In Sign Up
38 I want to share files using both OSs, if anyone have have information about sharing files with any 1 Ubuntu 14.04 lts <-> Windows 7 sharing
of the OS please answer!
2 File Transfer over Wifi
networking file-sharing
1 How do I add my Ubuntu computer to my
share improve this question Windows 7 network?
edited Sep 25 '15 at 4:26 asked Jun 19 '13 at 14:18
Lucio Gaurav -1 Sharing with Windows 7
11.6k 20 79 151 555 2 6 16
1 Sharing files and folders between two pcs
ubuntu and windows
add a comment
0 Can a Ubuntu computer work on a Windows
1 Answer active oldest votes
network?
https://askubuntu.com/questions/310180/how-to-share-files-through-the-local-network 1/5
5/29/2018 networking - How to share files through the local network? - Ask Ubuntu
The "Guest Access" check box is self explanatory. This may be useful if your Windows userID is not Can a Dementor kiss a muggle (or squib)?
exactly the same as your Ubuntu user ID. Can a Magnetically Held Sphere Levitate in the
Air
It may tell you Sharing service is not installed:
Must a matrix of which all conjugates have zero
diagonal be zero?
question feed
Click on "Change permissions of enclosed files" button and make sure it looks like this:
Now you should be able to edit files created in ubuntu in the "Public" folder of the laptop in the
Windows Explorer.
However, if you create a file in Windows and put it in the Public folder of the laptop you may not
be able to open that file when you get to the laptop. This is because Windows and Ubuntu do not
understand each other's file ownership and permissions. So in the Ubuntu laptop, the file created
by Windows is owned by "Nobody". You will have to open Nautilus as an Administrator and change
the ownership and read-write permissions while in the laptop.
Step 3. Go to the Windows on the desktop computer and open Windows Explorer, Click on the
triangle next to Network on the left panel. From the drop-down list you should be able to select
the name of the laptop computer running Ubuntu.
https://askubuntu.com/questions/310180/how-to-share-files-through-the-local-network 2/5
5/29/2018 networking - How to share files through the local network? - Ask Ubuntu
Here is a step by step guide with some more details.
Ubuntu → Windows
Step 1 Setup Windows folder sharing using methods available for Windows. follow the steps in
the link above for the Windows part.
Step 2 Open a terminal in the Ubuntu laptop by pressing Ctrl + Alt + T and enter:
Note, there is no ; in the beginning of the edited line. Save the file and exit gedit. Enter the
following two lines (one at a time) to stop and start samba:
Step 3 On the laptop, open Nautilus, the file browser and click on Network on the left panel. Click
on "Browse Network" Click through the icons in the main Network window of Nautilus and find
your Windows Desktop and shared folder. Verify you can copy files from and to this folder.
See "Failed to retrieve share list from server" error when browsing a share with Nautilus for
reference on editing the smb.conf.
Ubuntu → Ubuntu
On both the desktop and the laptop do the following to make sure ssh-server is intalled:
Enter your password when prompted. The cursor will not move when you enter the password. This
is normal.
This will install the ssh-server if it is not already installed. If already installed, it will do nothing.
https://askubuntu.com/questions/310180/how-to-share-files-through-the-local-network 3/5
5/29/2018 networking - How to share files through the local network? - Ask Ubuntu
where laptop_user_id is the user ID you created for on your laptop. You can find your user ID by
typing whoami in a terminal. And laptop_name is the name you gave to the laptop when you
installed Ubuntu.
If you want to share a partition in your second hard drive of the desktop, under Server Address
Enter:
sftp://desktop_user_id@desktop_name.local/path/to/the/mount/point/of/the/partition/in
Alternately, if you know the local IP address of your laptop you can
replace laptop_name.local with the local IP address of the laptop.
Enter the password associated with laptop_user_id and select if you want the password is to be
remembered or not. Again click Connect .
Notice there is a new entry under Network on the left panel of Nautilus that begins
with laptop_user_id . Right click on it and choose "Add Bookmark" to create a permanent
bookmark for your laptop's home folder in the Nautilus of the Desktop.
share improve this answer edited Dec 18 '17 at 17:51 answered Jun 19 '13 at 15:08
user68186
13.4k 8 39 57
show 22 more comments
Your Answer
This site uses cookies to deliver our services and to show you relevant ads and job listings. By using our site, you acknowledge that you have read and understand our Cookie
Policy,Privacy Policy, and our Terms of Service. Your use of Stack Overflow’s Products and Services, including the Stack Overflow Network, is subject to these policies and
terms.
https://askubuntu.com/questions/310180/how-to-share-files-through-the-local-network 4/5
5/29/2018 networking - How to share files through the local network? - Ask Ubuntu
Sign up or log in Post as a guest
Email
Sign up using Facebook
required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie
policy, and that your continued use of the website is subject to these policies.
Not the answer you're looking for? Browse other questions tagged networking file-sharing or ask
your own question.
This site uses cookies to deliver our services and to show you relevant ads and job listings. By using our site, you acknowledge that you have read and understand our Cookie
Policy,Privacy Policy, and our Terms of Service. Your use of Stack Overflow’s Products and Services, including the Stack Overflow Network, is subject to these policies and
terms.
https://askubuntu.com/questions/310180/how-to-share-files-through-the-local-network 5/5