From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: unable to automount windows C$ Date: Tue, 09 Jun 2009 11:21:25 +0800 Message-ID: <4A2DD535.3060709@themaw.net> References: <9728fb580812101149s300c524dn5f6785c16bac969c@mail.gmail.com> <1230012791.3043.6.camel@zeus.themaw.net> <4A07749D.4000406@edcint.co.nz> <4A08FEE6.7000604@themaw.net> <4A0A533A.3060203@edcint.co.nz> <4A0A5527.2060207@themaw.net> <4A0A59F5.1090308@edcint.co.nz> <4A0A5B80.4040303@themaw.net> <4A0A5EE7.3020806@edcint.co.nz> <4A0A7ECB.2060604@themaw.net> <4A0B5DED.1090900@edcint.co.nz> <4A0B808C.2030705@themaw.net> <4A0CC262.7020105@edcint.co.nz> <4A0D1630.3040407@themaw.net> <4A0FC156.10108@edcint.co.nz> <4A10BC5B.7010402@themaw.net> <4A24BC60.1020404@edcint.co.nz> <4A250A66.4070206@themaw.net> <4A271218.3030300@edcint.co.nz> <4A274C69.4090202@themaw.net> <4A2DADEA.3010406@edcint.co.nz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A2DADEA.3010406@edcint.co.nz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Matthew Jurgens Cc: autofs@linux.kernel.org Matthew Jurgens wrote: > >>>> All I'm saying is that, for whatever reason, autofs is treating your >>>> program map as a file map. Why I don't know. >>>> >>>> >> It is checking if the map (path in ap->argv[0]) has the execute bit set >> for the owner. >> >> Ian >> >> > So my file looks like > -rwxr-xr-x 1 root root 1193 2009-05-16 09:53 /opt/maj/auto.samba > Which seems to meet all the criteria - owned by root, executable by root > etc etc What does the master map entry for this look like? If you have "file:" in front of the map path that will force autofs to treat it as a file map. Ian