Currently Being ModeratedAug 16, 2011 2:56 PM (in response to abricko)
I used these instructions to attempt the same thing. I got the same results described above: the share mounts, but only root can get into it. Instead of being owned by the user account and the "staff" group (which is what you get if you use Command-K in the Finder to mount a share), the automount directories are owned by root/wheel. Try to Chown the shares to yourself and nothing happens. No error, and no chown.
I called Apple for help and they said that anything involving command-line stuff is user-supported. :-(
I'll post back if I fingure anything out.
Currently Being ModeratedAug 22, 2011 1:28 PM (in response to spblat)
I have the exact same issue. Upgrade to Lion causes only root to be able to see mounts that were fine before. Very frustrating! I also tried changing ownership - to no avail. I would really like to know how to get this working again!
Currently Being ModeratedAug 22, 2011 2:18 PM (in response to abricko)
FYI -- I was just now able to "wake up" the mounts and have them be visible again by issuing an 'automount -vc' command in the shell as root. It took a minute or two for the folders to all become visible, but they are now accessible. I don't know how long it will last, since they seem to go to sleep after a while. Maybe it's a workaround until something more robust gets figured out...?
Currently Being ModeratedAug 22, 2011 2:36 PM (in response to abricko)
It seems to work fine here. I normally use MacFUSE but I was able to get AFP working too. The big difference is that SSH actually has more capability because Keychain provides ssh-agent. I can therefore login without hard-coding a password anywhere. That isn't as easy to do with AFP. It may be possible, but not easy.
Can you list what your config files look like?
Currently Being ModeratedSep 3, 2011 8:06 AM (in response to roblight)
Bump. Having the same problem on 10.7.1. Please fix Apple.
Apple support doesn't read these threads. This is strictly user to user. Site operators step in, to manage posts, when asked by senior users.
Currently Being ModeratedNov 7, 2011 7:02 AM (in response to hugoduraes)
So, how can we warn Apple about this issue?
I'm not an expert on auto-mounting by any means. So if this is something to warn Apple about or is more of a make this nicer feature request, is left up to someone who is.
As always, to contact Apple: www.apple.com/feedback
Currently Being ModeratedNov 7, 2011 8:35 AM (in response to hugoduraes)
I suggest starting your own thread to discuss whatever problem you are having. The original poster has one out of two machines misconfigured. We have not been able to reproduce any problem so there is not yet anything to report to Apple. If you explain your issue in more detail, we may be able to find out what is wrong.
Currently Being ModeratedDec 2, 2011 6:21 PM (in response to abricko)
Possible Fix that I found from different posts across the Internet.
I was originally mounting AFP shares from my NAS by putting the following line in my /etc/fstab file
(hostname):(share) (mount_point) url automounted,url==afp://(username):(password)@(hostname)/(share) (mount_point) 0 0
This was on an MacMini with 10.6, on my laptop with 10.7 I tried the same line and it gave me the permissions issue as abricko had. Now my MacMini is also giving me issues when it reboots. Researching the vast Internet I found the suggestion of creating a seperate auto_afp file for Autofs to use so here is what I did.
Create and set permissions
$ sudo touch /etc/auto_afp
$ sudo chmod 600 /etc/auto_afp
Open for editting
$ sudo vi /etc/auto_afp
Place the following style entry for your NAS
(local_mountpoint) -fstype=afp afp://(username):(password)@(hostname)/(share)
Make autofs aware of auto_afp
$ sudo vi /etc/auto_master
Add the following line
/- auto_afp -nosuid
$ sudo automount -vc
This "seems" have worked for me. I completely unmounted everything, made these changes and the share appeared at my mount point and I could access it as my user (mountpoint permissions are 700 user:wheel).
Hope this helps someone.
Message was edited by: bmorgenthaler