Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

therealmuffin

macrumors newbie
Original poster
Jun 5, 2008
22
0
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: http://hints.macworld.com/article.php?story=20100203124656707

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
 
Have you tried...

... the instructions here: http://aj.tarachanowicz.com/?p=158 ?

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....
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.