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
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