Results 1 to 4 of 4

Thread: CIFS/SMBFS not mounting windows share

  1. #1
    Join Date
    Oct 2010
    Beans
    8

    CIFS/SMBFS not mounting windows share

    This is confusing. I set up a directory to be shared on my win7 machine. I'd like to mount it on a linux box, not just connect through the network (can't upload pics from a network drive...).

    when adding lines to fstab,
    " //Drew-pc/d /home/drew/pc cifs uid=drew,user=drew,password=_password_ "
    will get me an icon labeled "pc" in the devices area, but when I click on it all I get is "mount: only root can mount //Drew-pc/d on /home/drew/pc"

    using SMBFS in fstab wouldn't even get the "pc" device to show up, so I figure that's a lost cause.

    I've been googling like a mofo, but I haven't seen anything about mounting as root. What the heck am I missing, here?

  2. #2
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: CIFS/SMBFS not mounting windows share

    Quote Originally Posted by drewciferpike View Post
    This is confusing. I set up a directory to be shared on my win7 machine. I'd like to mount it on a linux box, not just connect through the network (can't upload pics from a network drive...).

    when adding lines to fstab,
    " //Drew-pc/d /home/drew/pc cifs uid=drew,user=drew,password=_password_ "
    will get me an icon labeled "pc" in the devices area, but when I click on it all I get is "mount: only root can mount //Drew-pc/d on /home/drew/pc"

    using SMBFS in fstab wouldn't even get the "pc" device to show up, so I figure that's a lost cause.

    I've been googling like a mofo, but I haven't seen anything about mounting as root. What the heck am I missing, here?
    can you not just use the mount command?

    Code:
    sudo mount <server>:/dir /local/dir
    "Those who make peaceful protest impossible make violent revolution inevitable"

  3. #3
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    397
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: CIFS/SMBFS not mounting windows share

    Quote Originally Posted by drewciferpike View Post
    This is confusing. I set up a directory to be shared on my win7 machine. I'd like to mount it on a linux box, not just connect through the network (can't upload pics from a network drive...).

    when adding lines to fstab,
    " //Drew-pc/d /home/drew/pc cifs uid=drew,user=drew,password=_password_ "
    will get me an icon labeled "pc" in the devices area, but when I click on it all I get is "mount: only root can mount //Drew-pc/d on /home/drew/pc"

    using SMBFS in fstab wouldn't even get the "pc" device to show up, so I figure that's a lost cause.

    I've been googling like a mofo, but I haven't seen anything about mounting as root. What the heck am I missing, here?
    ... you need a separate .cifscredentials file for username and password, there is a pretty good manual here
    Last edited by Jacobonbuntu; September 1st, 2012 at 06:43 AM.

  4. #4
    Join Date
    May 2010
    Beans
    61

    Re: CIFS/SMBFS not mounting windows share

    Have you installed smbfs? It is not installed as default, but is required for a fstab mount.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •