delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/20/16:49:23

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 <eblake AT redhat DOT com>
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: <BLU0-SMTP20BB0A9FEAB26DD61E4B7ECED80 AT phx DOT gbl>
In-Reply-To: <BLU0-SMTP20BB0A9FEAB26DD61E4B7ECED80@phx.gbl>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019