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 Sun, 2015-09-13 at 15:56 +0200, Cyril B. wrote:
> Hello,
> 
> It looks like the mount point of the maps have fixed permissions, 755. I 
> need to have different permissions: in my use case, I want /home (which 
> is handled by autofs) to be set to 751.

Why is this needed?

> 
> The initial permissions of /home are overwritten when autofs is started, 
> so changing those doesn't help.

They aren't overwritten.
The permissions are those of the autofs mount that is mounted
over /home.

> 
> I can change the permissions of /home after autofs has started, but it's 
> really not convenient: there's no easy way to do that automatically with 
> either sysvinit or systemd.

I still don't understand why this is needed.

For indirect mounts no-one can copy things into the autofs mount and the
permissions of mounts on mount points will be the same as those of the
mounted file system when they are done.

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