Re: [bug] /etc/profile: line 30: /dev/null: Permission denied (Was:Re: [PATCH] Remove broken by design and by implementation devtmpfs maintenancedisaster)

From: Linus Torvalds
Date: Fri Sep 18 2009 - 10:19:42 EST




On Thu, 17 Sep 2009, Greg KH wrote:
>
> I think the udev version in older Fedora releases can't handle this
> kernel option, which is fine, just don't enable it. Newer versions can
> handle it, right?

.. conversely, if you can't be bothered to set up /dev/null and /dev/zero
correctly, I would suggest that you not set them up AT ALL in devtmpfs.

The thing is, 0600 for those nodes is just _wrong_. Don't do it.

Linus
--
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/