Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

FIle sharing issue between linux and windows 7

Posted on 2010-11-10
10
Medium Priority
?
706 Views
Last Modified: 2012-06-27
I have 3 machines , 2 physical running windows 7 (we'll say winA and winB) and 1 vmware image running centOS (call it linuxC).

I'm tyring to use file sharing between the linux box and the 2 windows boxes. linux C can read files from winA  but not winB. When I try to access winB I get the error

"The folder contents could not be displayed.
Sorry, couldn't display all the contents of "Windows Network: ollie-pc"."

WinA and WinB are also able to share files between each other with no problem.

I'm using bridged networking for LinuxC.
0
Comment
Question by:opike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
10 Comments
 

Author Comment

by:opike
ID: 34104578
Well I just added the host and ip to /etc/hosts and I no longer get the error message but now it prompts me for username/password, and I'm entering what I know is a valid username/password but it won' t accept it.
0
 

Author Comment

by:opike
ID: 34104765
I thought it might be an NTFS issue but both winA and winB are formatted with NTFS.
0
 
LVL 4

Expert Comment

by:torque_200bc
ID: 34105127
are NTFS and NFS permissions equal in the shared resources of WINA and WINB? If not make WINB shared files have the same permissions as WINA.
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:opike
ID: 34105186
I went over the permissions again just to be certain and it looks to me like they are set up the same in both machines.

I wonder maybe if the hyphen in the hostname ollie-pc might be causing problems.
0
 

Author Comment

by:opike
ID: 34105297
Just tried renaming the server without a hypen - problem still there.
0
 

Author Comment

by:opike
ID: 34105694
Made sure "Shared Folders" was enabled in the vm settings and the folder I'm tyring to access is specified in there too.
0
 

Author Comment

by:opike
ID: 34106123
Went through all the settings mentioned in this link:

http://www.home-network-help.com/simple-file-sharing.html

but still no.

I probably would've already moved on to a workaround but it's killing me that it works with another machine that appears to be configured in an identical manner.
0
 
LVL 27

Accepted Solution

by:
Tolomir earned 2000 total points
ID: 34106251
Have you check this:

http://www.tomshardware.co.uk/forum/236684-38-windows-linux-file-share-problem

Well first, smbfs is the older Samba client implementation of SMB; it's  now deprecated, you should use cifs (that alone may actually solve your  problem if you set up your network mounts in /etc/fstab).

Tolomir

sudo mount -t cifs //ipaddress/sharefolder ~/Share/ 
-o username=username,password=password,iocharset=utf8,
file_mode=0777,dir_mode=0777

Open in new window

0
 

Author Comment

by:opike
ID: 34125783
That worked for me, thanks.

Still curious though that it wouldn't work from gnome.
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 34126452
Maybe gnome only supports smb?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question