X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-10.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <5009C435.3070908@redhat.com> Date: Fri, 20 Jul 2012 14:48:53 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: /usr/sbin directory not included in PATH References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig2FDD5F9F05EC92A5D62A9418" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig2FDD5F9F05EC92A5D62A9418 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/20/2012 02:34 PM, Aaron Schneider wrote: > Package util-linux installs fdisk.exe in /usr/sbin but that path is not > added to PATH variable, so can't be run directly, >=20 > $ echo $PATH > /usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:= /cygdrive/c/WINDOWS/System32/Wbem >=20 >=20 > Is this intentional? Yes. It matches how Fedora does things (both fdisk being in /usr/sbin, and that /usr/sbin is not in the default PATH of non-root users unless the user customizes things). If you don't like it, then customize your PATH. --=20 Eric Blake eblake AT redhat DOT com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig2FDD5F9F05EC92A5D62A9418 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJQCcQ2AAoJEKeha0olJ0Nq5JQH/3PeqLxFymjEpewRdPRx85xH VjDJcEmWcAs5hT4acRKDNUfjRQQcviOcfhQWSx3rYx/Szb8BTbdoPFKCFnEIEhki Ub34vmoSPRBMYw20Q0glZr4CKlV9bGCOvCbmFbL56PK17GKgeV+4kVkrFeyfvd6f +uWHhH/F3KAJ9HTNUGbnQsEDYh99Z7Rr52c7inB9K7IDkh20TgV5VevMNLE1G0Es gqFftsnAB6huL5SfqNwsER1uZu0u4yacgSzpryK2j6IbZhTl/Xewx94pnB+BDURQ 41LDMqHCIuP/JyUCQYQnU1FwTiDdimVrobRcIaYzyxBHeyJ9L3oK6FJX1Qy9mXM= =xvOZ -----END PGP SIGNATURE----- --------------enig2FDD5F9F05EC92A5D62A9418--