Re: [PATCH] Add a --mode option to chmod the mount point of the maps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2015-09-14 at 11:29 +0200, Cyril B. wrote:
> Frank Thommen wrote:
> > They are not "re"set.  These are the permissions of the filesystem that
> > you are mounting over /home (e.g. myfileserver:/export/homes).  Change
> > the permissions of /export/homes on myfileserver.
> 
> In my case, I haven't mounted anything at all yet. My map is an 
> executable, and since I haven't triggered an automatic mount (by 
> accessing /home/foo), the executable has not even been called once. 
> /home is empty.

And if you create a file inside /home before starting automount(8) it
will (not so) mysteriously disappear when automount is started.

Why don't you check what mounts you have after automount is started.

That may well answer your question and don't forget to check
if /etc/mtab is a symlink to a mount table in the proc file system.

If it isn't then the autofs file system mounts won't be present
in /etc/mtab but they will be seen in the mount table within the proc
pseudo file system at /proc/mounts.

Ian

--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux