Re: [PATCH] devpts: change the default value of devpts mode to 0620

From: Alan Cox
Date: Fri May 15 2009 - 06:37:19 EST


On Fri, 15 May 2009 16:13:44 +0800
Wei Yongjun <yjwei@xxxxxxxxxxxxxx> wrote:

> The value of devpts mode is usually set to 620 in file
> /etc/fstab like this:
>
> $grep devpts /etc/fstab
> devpts /dev/pts devpts gid=5,mode=620 0 0
>
> But the default mode value of devpts is 0600. Why not
> set it to 0620? This patch change it 0620.

NAK

The default is effectively ABI so you are changing it for people using
the 0600 default and doing nothing at all useful for those with 0620
defaults in their mount tab (which btw is distro dependant policy)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/