Linux Problem mounting Vista shares

Discussion in 'Software' started by DougEdey, 16 May 2007.

  1. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    I seem to have difficulties mounting shared folder with a total size >2GB in Gentoo.

    Whenever I try to mount using SMBFS it mounts, but then says "Permission denied", using CIFS it says "Error 20: directory does not exist"

    If I mount a folder shared on the Vista machine < 2GB it works fine.

    this reccomend to use lfs as an -o value, but it causes the same problem.

    Any ideas?

    2.6.20-r7 gentoo kernel, connecting wirelessly to a Vista Business machine.
     
  2. afen

    afen cyb0r p1mp

    Joined:
    10 Aug 2001
    Posts:
    163
    Likes Received:
    1
    mount -t smbfs -o username=***,password=*** //vista/share /mnt/share

    Have you tried that?
     
  3. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    thats the way I get the permission denied error.
     
  4. afen

    afen cyb0r p1mp

    Joined:
    10 Aug 2001
    Posts:
    163
    Likes Received:
    1
    Tried mounting as root? Correct password? Correct permissions on the share? On the mount dir?
     
  5. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    yerp, all checked. If I mount anything which is lower then 2GB it's fine.
     
  6. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    try:
    Code:
    mount -t cifs //vista/share /mnt/share
    EDIT: I should read before I post ;)
     
  7. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    there may be a problem with SAMBA/CIFS. I can see the laptop from Windows but when I goto a share it says "Windows Cannot Access ..." "The network path was not found"

    And with the laptop if I type the PC name it can't find it, but it can find the IP
     
  8. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    That's a different problem (DNS). If you add the IP of your Vista pc in /etc/hosts then it will work ;)
     
  9. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    DNS problem is solved and so is the share

    Vista decided to remove global access for all my shares when I added a new Hard Drive.
     
Tags:

Share This Page