Mounting smb share to fixed location with multiple users

Discussion in 'Mac OS X Lion (10.7)' started by therealmuffin, Jan 15, 2012.

  1. therealmuffin macrumors newbie

    Jun 5, 2008
    Howdy all,

    I'm trying to mount an SMB drive somewhere to my local drive, running OSX 10.7. I can do this two ways but both create some problems.

    First, I could add the SMB drive to login items and then it is automatically mounted at login. However, I've got two users on that computer and an application needs to point to that location. Here I run into a problem. The user that logs on first gets the location of the share /volumes/smb_share and the user that logs on second the location /volumes/smb_share-1. So this doesn't work as I cannot give the application a fixed location of the SMB drive

    Second, I could use auto_smb to mount the drives at boot. This works fine except that the owner:group is set to root:wheel. Therefore the intended user can not read the SMB drive. A complication is that I can not mount the folder to the user folder for which I need to mount the drive. Because the user folders are on a different partition of the hdd this location itself needs to be mounted and I can't seem to control the order of mounting, creating problems at boot 50 per cent of the time. Therefore I mount the SMB_drive to the old user folder (/users/user_folder/smb_share) hoping that this would solve the user permissions issue, to no avail however.
    Here is a link describing the auto_smb method:

    Can anyone tell me how to fix this issue and mount the smb-drive to a fixed location for each user and make it accessible?

    Kind regards, Maarten
  2. tomlawton macrumors newbie

    Apr 19, 2012
    Have you tried...

    ... the instructions here: ?

    They almost work for me- but for the problem noted in the comments, of having to umount the share so it remounts readably... And even then, it doesn't show in the Finder....
    But, it's a start....
  3. therealmuffin thread starter macrumors newbie

    Jun 5, 2008
    Thanks for your reply. Actually that solution was listed under my second problematic solution. See my initial post for issues.

    As for showing it in finder. I thought I did get an icon on my desktop but I'm not sure. Otherwise you could make a symobolic link (see 'man ln' and option '-s' for instructions). Then you could drag a nice looking/named folder to "finder".

    Kind regards, Maarten

Share This Page