Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 710
  • Last Modified:

FIle sharing issue between linux and windows 7

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
opike
Asked:
opike
  • 7
  • 2
1 Solution
 
opikeAuthor Commented:
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
 
opikeAuthor Commented:
I thought it might be an NTFS issue but both winA and winB are formatted with NTFS.
0
 
torque_200bcCommented:
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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
opikeAuthor Commented:
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
 
opikeAuthor Commented:
Just tried renaming the server without a hypen - problem still there.
0
 
opikeAuthor Commented:
Made sure "Shared Folders" was enabled in the vm settings and the folder I'm tyring to access is specified in there too.
0
 
opikeAuthor Commented:
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
 
TolomirAdministratorCommented:
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
 
opikeAuthor Commented:
That worked for me, thanks.

Still curious though that it wouldn't work from gnome.
0
 
TolomirAdministratorCommented:
Maybe gnome only supports smb?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 7
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now