The execute bit was set on the file. I chmod -x and it works now. Thanks.
--- On Thu, 6/18/09, Ian Kent <[email protected]> wrote: > From: Ian Kent <[email protected]> > Subject: Re: [autofs] Autofs Error Messages > To: "Thanh Tran" <[email protected]> > Cc: [email protected] > Date: Thursday, June 18, 2009, 12:53 PM > Thanh Tran wrote: > > I've been having problems w/ automount. It does > not detect my usb > > drive. Looking at the system logs, my kernel > seems to see the usb > > stick insertion just fine. The automount log > indicates it's running. > > I get the following message. > > > > automount[900]: attempting to mount entry > /mnt/usbdrive/usbdrive > > automount[900]: lookup(program): lookup for usbdrive > failed > > automount[900]: failed to mount > /mnt/usbdrive/usbdrive > > > > The auto.master: > > > > /mnt/usbdrive /etc/auto.usbdrive > > > > The auto.usbdrive: usbdrive > -fstype=vfat,uid=500,gid=500,umask=002 > > :/dev/sdb1 > > > > I've done a quick internet search on the issue and the > advice I got > > was to check the auto.usbdrive file. It seems OK > to me. Any other > > suggestions? Thanks in advance. > > Looks like /etc/auto.usbdrive is executable and autofs is > trying to > execute it instead of reading it. > > Ian > > _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
