X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=mr8nUmEB9XeIFAci k8L+E1MYqtN85iSwRnFCjk10O9y+DPd4yWI7HcsfKp37xDwDvVCnhmhidrrZhgqt ehBTv7mzT99/Xdwqka3m253P+SNfWM0K8xsfYsm7v6Gi0+Ps2SIivEsaUH5IcIWM Vo2BkTLNedd0XKW+NGJSVMQ/tNY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=tvABIAS962NKBvFVFb27h5 O21YE=; b=BP/dCbC1B97lnj2TotipJxYH9MiD3lXvF+qIKQX8H8dLPtaW+VlRwV hAOsvwy7c3gTo/uAqmMyHRIRdmgSxFO5fX1RWREwE0/fvXwm1DHAVi5cttAQvVuG oyxUV7kBjLZ9FzoRY3mm35m/mWm1vi/LH7TGv6nRFwQ9gaeErQJWI= 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=realize, entertain, questionable, youd X-HELO: mail-it0-f52.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=B+YCj8vcFfQ1dpSESQ1DhW6A/9+sOW6+xefw+92uHEY=; b=py2qpGaFwUubcsbq+A63BwOTYAawkxI3BRZcabq5yCbaPfYn6FrpXjhW1H+kxrkzIx BF1DnHqOfJCRq+NEIDnJVgeW6mgbWpHXMp5c8FKPnu0Is4LI3Z1KTZB214ApsXIcI1hQ Pe6HoP5HiwRadWU2sh6mNPZUyMVpS3TMEfPQ04BgNEDh5cKepYqpgdgS4ojsS9/4aOJo +wVkxggSrel6PsK3wHX5JnIwEEpUb/9GIoSNW5KEAyT0ns+G6AecoEJl+5qj1H7JmfKZ FajaYlLF9aaBK7Ba1f3WJbVWwkGrDJbH+zP4nxlwHDUOBKpsb9jkx9OQIGVgS9SBXVog 6zNA== Subject: Re: cygserver - /usr/sbin vs /usr/bin To: cygwin AT cygwin DOT com References: <99a59fea-d5a6-a4ed-dca4-0772dd3fbf05 AT gmail DOT com> <20180813074957 DOT GF3747 AT calimero DOT vinschen DOT de> <20180813144158 DOT GM3747 AT calimero DOT vinschen DOT de> From: cyg Simple Openpgp: preference=signencrypt Message-ID: Date: Tue, 14 Aug 2018 16:05:47 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180813144158.GM3747@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 8/13/2018 10:41 AM, Corinna Vinschen wrote: > On Aug 13 08:50, cyg Simple wrote: >> On 8/13/2018 3:49 AM, Corinna Vinschen wrote: >>> On Aug 10 11:28, cyg Simple wrote: >>>> Looking at the files delivered by the cygwin upgrade I see >>>> /usr/sbin/cygserver.exe and /usr/bin/cygserver-config. Shouldn't >>>> cygserver-config reside in /usr/sbin with cygserver.exe? >>>> >> >> You didn't answer this with your below answer. The cygserver-config >> requires administrator privilege so it would be better placed with >> cygserver.exe in sbin, IMO. >> >>>> Also in that vain shouldn't cyglsa belong in /usr/sbin? >>> >>> Nope. /usr/bin is where the DLLs are, so they can be found >>> even if PATH isn't set up. >>> >> >> But cyglsa{,64}.dll is a standalone without any other binary. It is >> only accessed by the OS for the LSA support if the registry key exists. >> This means the cyglsa-config can be modified to point to the sbin >> directory instead of the bin directory. Again administrator privilege >> is required so better placed in sbin, IMO. > > cyglsa.dll requires an install script that would have to be change as > well. In contrast, you'd have to make sure your new solution still > works for existing installations. What's the gain? Does it *hurt* to > have the stuff in /usr/bin like everything else? > No but then why have cygserver.exe in /usr/sbin? Either there should be a separation because of required administrative rights or there shouldn't be at all. Having it both ways is just confusing even if the confusion isn't apparent to you. > If you want trhis questionable changes desperately, feel free to provide > patches on the cygwin-patches ML. > When I feel that the answers to my question have been thought out I would entertain a patch to cygwin-patches. I realize the cyglsa-config script requires a change should cyglsa*.dll moves and an update option would need to be provided for those who have configured it already. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple