mount_smbfs question

Discussion in 'macOS' started by killfoot, Oct 12, 2009.

  1. killfoot macrumors newbie

    Joined:
    Dec 6, 2008
    #1
    I'm having a problem which this guy describes: http://www.cmsimike.com/blog/2009/06/30/os-x-failure-mounting-via-shell/


    Here is what I'm doing:

    mount -t smbfs //myuser:mypass@mybox/myshare /Users/myuser/Desktop/Storage

    it results in: "mount_smbfs: mount error: /Users/myuser/Desktop/Storage: File exists"

    Or, if I don't have the Storage directory crated it results in: "mount: realpath /Users/myuser/Desktop/Storage: No such file or directory"

    I'm really confused. From what I read, this should be working.
     
  2. killfoot thread starter macrumors newbie

    Joined:
    Dec 6, 2008
  3. grey-heron macrumors newbie

    Joined:
    Jul 25, 2010
    #3
    You need to run the command using sudo.

    sudo mount -t smbfs //myuser:mypass@mybox/myshare /Users/myuser/Desktop/Storage

    this should then work.
     

Share This Page