Share files Ubuntu 10.04 and Win7

By hughva
Sep 5, 2010
Post New Reply
  1. I had no problem with this in XP or Vista.
    After installing Win7 I can only access my NAS drive, not the shares on Windows or Ubuntu. Two Ubuntu PCs can access each other.
    I've Googled and SWATed and sworn a lot, but all I get is password requests that don't accept the PWs I know are good.
  2. hughva

    hughva Newcomer, in training Topic Starter Posts: 309

    Where's all the Gurus?
  3. Leeky

    Leeky TechSpot Evangelist Posts: 4,378   +97

    What are you trying to access?

    Your Ubuntu drives should be fully accessable from your install of Ubuntu.

    Let me know exactly what you want to do with your Ubuntu install and I'll advise accordingly.
  4. hughva

    hughva Newcomer, in training Topic Starter Posts: 309

    I want to share files with my Win7 box.
    I can see the drives, but I get asked for a password, and the only one I use doesn't work.
    I can access my NAS drive, but nothing on the Win7 install.
  5. Leeky

    Leeky TechSpot Evangelist Posts: 4,378   +97

    Are you the owner of the folders in question, and have full control of them?

    You can tweek the W7 sharing permissions in Networking & Sharing to turn off password protected sharing, which will stop your problem. Is passworded permissions essential for your network situation?

    I don't really see the point in it as you can already see the drives so know they're there anyway, but its personal preference.

    The only time I've had issues with this from Ubuntu is when the folders in question (in W7) don't have full permissions setup), or I forget to click "save" (or words to that effect) when entering the password so it continually asks with each session.

    Ubuntu by default automatically mounts all local hard drives on the computer its installed on, so your problem appears to be purely permissions based in my opinion.
  6. hughva

    hughva Newcomer, in training Topic Starter Posts: 309

    I'm the owner with an admin account and password protection has always been off.
  7. Leeky

    Leeky TechSpot Evangelist Posts: 4,378   +97

    Is the shared folder/disk mounting automatically during startup in Ubuntu? Or are you having to mount it manually?

    It seems slightly odd that your having this issue if the Windows user is the owner of the contents, and you have password sharing disabled. Have you verified that all these are still the case? Something could well have changed for some reason so its worth a quick check if its been a while since you looked.

    If you run Nautilus as root, are you able to read and write to the folders in question?
  8. jobeard

    jobeard TS Ambassador Posts: 13,024   +221

    Ubuntu needs to have SAMBA installed and active; ps -aux | egrep mbd will prove it is running.

    the etc/samba/* file samples are here and this file controls Linux Shares to foreign hosts {OS X & Windows users}

    Accessing Windows Shares from Linux is similary to Simple File Sharing;
    get the same user-id on both systems and then access the share
    smb://systemname/sharename

    all the other issues parallel windows F/S setups
  9. Leeky

    Leeky TechSpot Evangelist Posts: 4,378   +97

    @jobeard
    As I understand it, Ubuntu desktop edition has this running as a default install. It's well worth looking into though Hughva, as this could be your problem.

    I would find it to be slightly odd if this was the case though, as I've had native support in desktop versions of Ubuntu for at least the last couple of Ubuntu releases.
  10. hughva

    hughva Newcomer, in training Topic Starter Posts: 309

    I have samba and swat installed, and I edited smb.conf to change the Workgroup and sharing options.
    After fooling with this for a while, it started working, but I'm not sure which tweak did it.
    Thanks, guys.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.