From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Buesch Date: Tue, 24 Feb 2004 19:17:04 +0000 Subject: [Q: udev] chmod required? Message-Id: <200402241951.10052.mbuesch@freenet.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Why do we chmod() after mknod() in make_node() ? Mode is passed as arg1 to mknod(). As I understand the glibc documentation, this should be enough to set the file-mode, isn't it? - -- Regards Michael Buesch [ http://www.tuxsoft.de.vu ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAO6MwFGK1OIvVOP4RAovUAJ9I/M+rCYCqdoNSlRAT3dpzautNrACgl4ui 07Jyv28nArTqceS3mxBs0tA=C869 -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dclick _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel