From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Za3P9-0002TU-S2 for ptxdist@pengutronix.de; Thu, 10 Sep 2015 17:04:51 +0200 Received: from [IPv6:2001:6f8:105b:1122:5ccb:fffb:bbc1:7cb4] (dyn-2001-06f8-105b-1122-5ccb-fffb-bbc1-7cb4.pool.blackshift.org [IPv6:2001:6f8:105b:1122:5ccb:fffb:bbc1:7cb4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mkl@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 81C6C931EF for ; Thu, 10 Sep 2015 15:04:50 +0000 (UTC) References: From: Marc Kleine-Budde Message-ID: <55F19C0F.50007@pengutronix.de> Date: Thu, 10 Sep 2015 17:04:47 +0200 MIME-Version: 1.0 In-Reply-To: Subject: Re: [ptxdist] Warning UID is greater than 99 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1471304111==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1471304111== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wIj3MndgSVL4wRFXcp8gamQBiMe7CJ3wE" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wIj3MndgSVL4wRFXcp8gamQBiMe7CJ3wE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/10/2015 04:23 PM, Oliver.Graute@neuhaus.de wrote: > in my rule file I create some directorys with special UID and GID for a= > sftp user. >=20 > ifdef PTXCONF_DNT3202STARTUP_CREATE_SFTP_DIR > @$(call install_copy, dnt3202startup, 0, 0, 0755, /sftp/) > @$(call install_copy, dnt3202startup, 0, 0, 0755, /sftp/sftp_user/) > @$(call install_copy, dnt3202startup, 1001, 1000, 0755, > /sftp/sftp_user/incoming) > @$(call install_copy, dnt3202startup, 1001, 1000, 0755, > /sftp/sftp_user/outgoing) > endif Better use the user and group name from /etc/{passwd,shadow} not the numerical value. > this is working fine for me on the target. But today I noticed this > Warning in ptxdist log: >=20 > *** Warning: The following files have a UID greater than 99. > You probably want to chown these to a system user: > drwxr-xr-x 2 lgl mgo 4096 Sep 10 15:40 ./home/shell_user > drwxr-xr-x 2 lgl mgo 4096 Sep 10 15:40 ./sftp/sftp_user/incoming > drwxr-xr-x 2 lgl mgo 4096 Sep 10 15:40 ./sftp/sftp_user/outgoing >=20 > is this something to worry about? or can I ignore that? Just Ignore it. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --wIj3MndgSVL4wRFXcp8gamQBiMe7CJ3wE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJV8ZwPAAoJEP5prqPJtc/H00YH/jx9wFQMACLymihmKyCJTJ4a XbTtT4Nv0JafATPuJba5kXcp7UMtZxq+LSX+C6bWW6i4wSlQzjyyxZ24rilOlqKr 0ow6pQwhXvopgsl0D5VikdbMQlz7g9njIiQJlYKnDDy9O5YMpxmHF3Ys1Lr6Gm1N 1uE7BQYDLQoAyeP18RP79lRrJdFjnhJtYSBw3d2wARs+VHFZ8gRNUEHjkdBf78P/ q+0FxEVtNQYvILlwIixWHDiuaFtRUVFlei07NdTGvxRfU8mBgn/KbVlj8/jmn8mn FRx8tgsuTzHvrv5quiC/G0br+/KzVIzRKOP2t1cwX/LbS/E8hV3R1J9ZHLeEP3w= =+2+e -----END PGP SIGNATURE----- --wIj3MndgSVL4wRFXcp8gamQBiMe7CJ3wE-- --===============1471304111== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============1471304111==--