I'm having trouble since 2 days with autofs. I have a Solaris 11 Server. There I share the folder /export/home with the following command:
share -o rw -d „Freigabe von /export/home“ /export/home
My Client is a Fedora 17. On Fedora I created the folder /ahome, where all home folders should be mounted with autofs. I gave permissions 777 to /ahome.
After that I configured the /etc/auto.master and added
/ahome auto.homes Than I created the file /etc/auto.homes
read1 192.168.0.3:/export/home/read1 read2 192.168.0.3:/export/home/read2 After that I restart autofs with
systemctl restart autofs.service Both Users (read1 and read2) exist on both systems with the same UID and GID. But when I cd to /ahome/read1 and make an ls on Fedora I get the following error.
ls: cannot open directory .: Permission denied In /var/log/messages
Mar 30 23:43:34 fe-19 pulseaudio[1474]: [alsa-sink] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail. Mar 30 23:43:49 fe-19 dbus-daemon[582]: ** Message: No devices in use, exit Mar 30 23:45:31 fe-19 systemd[1]: Cannot add dependency job for unit mdmonitor-takeover.service, ignoring: Unit mdmonitor-takeover.service failed to load: No such file or directory. See system logs and 'systemctl status mdmonitor-takeover.service' for details. Mar 30 23:45:32 fe-19 automount[1100]: umount_autofs_indirect: ask umount returned busy /ahome Mar 30 23:47:49 fe-19 dbus-daemon[582]: (packagekitd:1508): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Mar 30 23:55:03 fe-19 systemd[1]: Cannot add dependency job for unit mdmonitor-takeover.service, ignoring: Unit mdmonitor-takeover.service failed to load: No such file or directory. See system logs and 'systemctl status mdmonitor-takeover.service' for details. Mar 30 23:55:03 fe-19 automount[1933]: umount_autofs_indirect: ask umount returned busy /ahome Please, Can anybody help me? I start hating autofs