[CS-FSLUG] More autofs/smb mystery

David McGlone d.mcglone at att.net
Sun Jan 18 11:59:41 CST 2009


On Sunday 18 January 2009 10:07:57 am Jonathan E. Brickman wrote:
> OK.  The plot thickens.  The shares are being automounted r-x, even
> though the modes are set at 0660 for files and 0770 for directories.
> But if I CD one level down in the share, everything is right.  Anyone
> have a clue?  This seems to happen a lot with autofs (been web-surfing),
> but no solution found yet.
>
> jeb at jebslinux /var/autofs/smb $ ls -l
> total 0
> dr-xr-x--- 1 jeb users 0 2009-01-06 21:07 MYDOCS
> jeb at jebslinux /var/autofs/smb $ cd /var/autofs/smb
> jeb at jebslinux /var/autofs/smb $ ls -l
> total 0
> dr-xr-x--- 1 jeb users 0 2009-01-06 21:07 MYDOCS
> jeb at jebslinux /var/autofs/smb $ ls -l MYDOCS/Tracts
> total 7508
> -rw-rw---- 1 jeb users 3731841 2007-10-04 18:57 Signs to Heaven
> (darker).png -rw-rw---- 1 jeb users 3945310 2007-10-04 18:57 Signs to
> Heaven
> (original).png
> -rw-rw---- 1 jeb users    2560 2007-10-04 18:57 Thumbs.db
> jeb at jebslinux /var/autofs/smb $

This may not be good practice, but have you tried mounting the shares as user 
instead of root?
-- 
David M.
http://www.dmcentral.net




More information about the Christiansource mailing list