Hi all
I've been battling this for a week or so and am starting to get really ()&£&&$"!(* with it.
What am I trying to do:
Use automount to mount ISO's on demand - kinda like a CD/DVD jukebox. I got the idea from this article
http://www.linuxjournal.com/article/5639.
How:
Stick .iso files in a directory (/iso/images/test.iso, etc.)
update autofs files to mount as iso9660, readonly, etc...
Problem:
I get a "permissions denied" message for the .iso image in /var/log/messages when automount is running in the background. It works when automount is run in foreground with -f.
I'm running CentOS 2.6.18-92.el5.
/etc/auto.master contains
/misc /etc/auto.misc
/net -hosts
/isomnt /etc/auto.isomnt --timeout=60
+auto.master
/etc/auto.isomnt contains
xx -fstype=iso9660,ro,loop :/iso/images/test.iso
/var/log/messages shows the generated mount command as
mount -t iso9660 -s -o ro,loop /iso/images.test.iso /isomnt/xx
followed by
>> /iso/images/test.iso: Permission denied
I can't seem to figure out which combination of rights I need and where!
Any ideas?
Thanks
S.