Re: [RFC] fix devpts mount behavior

From: Serge E. Hallyn
Date: Tue Jan 24 2012 - 18:28:13 EST


Quoting Sukadev Bhattiprolu (sukadev@xxxxxxxxxxxxxxxxxx):
> Serge Hallyn [serge.hallyn@xxxxxxxxxxxxx] wrote:
> |
> | That has nothing to do with /dev/pts/ptmx, whose perms are set based on
> | the '-o ptmxmode=" argument, and default to 000 if not specified. If
> | /dev/ptmx is going to be a symlink to /dev/pts/ptmx, then we have to set
> | the /dev/pts/ptmx perms to not be 000, or users won't be able to create
> | ptys.
>
> If we are going to make 'newinstance' the default, maybe the default
> ptmx mode could be changed to 0666 in the kernel too ?
>

Right that was what i meant :)

thanks,
-serge
--
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/