JohnJamesRooney

Q: Possible to automount AEBS HD

My configuration includes an iMac running Mac OS 10.7.5, an Apple Extreme Base Station

with a partitioned USB hard drive connected to it, and various other machines wirelessy connected. I am

trying to configure the hard drive so that its volumes are accessible with different permissions

depending on the user. I want this configuration to survive a restart and wake scenario.

 

It appears to me that the only configuration workable with Lion and networked drives is for open

(Read Write access) access for all users that mount the drive (or any of its volumes). This involves

simply accessing the server via command-K and supplying the password.

 

A permanent configuration via some automount solution has been raised in a number of queries

and I have tried all the solutions to no avail. An example of a more comprehensive thread is:-

https://discussions.apple.com/thread/3221944?start=0&tstart=0

 

I have tried using the fstab and automount solutions (using a mount map file) but they both result in

root mounted volumes. It seems some regression was introduced in Lion that has broken the auto-mounting of

networked drives (note, mounting the drives using mount_afp works fine).

 

I wonder is anyone aware of a solution and more importantly, for Mountain Lion users, does this problem still exist ?

If I upgrade to ML will this allow an auto-mount configuration?

 

Notes

====

 

For anyone with the time to try on ML, the fstab mods are of the form (man fstab):-

 

<Id of Vol. to mount> <Mount Point> <fstype> <options> <dump param> <fsck pass no.>

 

192.168.0.3:/Iomega-100GB /Volumes/myIomega-100GB url rw,auto,automounted,url=="afp://username:password@192.168.0.3/Iomega-100GB/" 0 0

 

Where username is login name and password is the disk password set via AirPort Utility.

 

Mods to fstab can be tested via sudo automount -vc (avoids reboot etc.). Can then delete/reset fstab and re-run this command to

get system back to previous state.

 

Console application will show some errors and info.

 

From man documentation and console output, the above fstab mod leads to the invocation of mount_afp.

 

I can see that there are potential issues with this approach. Such as, how does the username/pw apply to other users?

Given this mount will take place during a boot then volumes could at most be potentially available to users

with the final stage of credential checking only taking place at the point of use of volumes. This would explain

why mount_afp works (there are no ambiguities of who the user is).

 

From the automount documentation I have noticed that there is an 'executable map' option that allows conditional

mounting of volumes. I have not explored this as I don't understand the root mount behaviour (where this executable

option is likely to lead!).

OS X Mountain Lion (10.8.2)

Posted on Sep 25, 2012 3:07 AM

Close

Q: Possible to automount AEBS HD

  • All replies
  • Helpful answers

  • by VikingOSX,

    VikingOSX VikingOSX Sep 25, 2012 5:08 AM in response to JohnJamesRooney
    Level 7 (21,500 points)
    Mac OS X
    Sep 25, 2012 5:08 AM in response to JohnJamesRooney

    Here is Apple's info on this subject.

     

    Also, with the AEBS drive mounted on the desktop, try dragging and dropping that icon onto an Account Login Items window.

  • by JohnJamesRooney,

    JohnJamesRooney JohnJamesRooney Sep 26, 2012 6:56 AM in response to VikingOSX
    Level 1 (0 points)
    Sep 26, 2012 6:56 AM in response to VikingOSX

    Thanks VikingOSX. The Apple info is basic and does not cater for giving each user different permissions to the volumes (as you would normally expect from a standard ownership model .. in fact, the behaviour you get when you plug the drive directly into the machine). I want to be able to mount a drive as a network drive such that its ownership is respected. I can see that this would entail some form of matching users across a network in order to establish the 'owner'.

     

    I have tried dragging drive icon into the account login items however, this does not address file ownership. It just provides open access to that user. I have read in some threads that MacOS X works on the basis of a floating ownership whereby whoever mounts the drive gets R/W access to all files. This looks like what I am seeing.

     

    I am beginning to think the type of functionality I am looking for is more in the realms of OSX Server ?