This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /usr/sbin directory not included in PATH


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,
> 
> $ echo $PATH
> /usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
> 
> 
> 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.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]