delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=GR/p7McueFWmVN91ahqhtU12CE2RknVmOiMVQZb95IwrO/zTH6rDT | |
r7wzu+/vCAjF8+VCBh3m/rUVbiKU3/SLi50kFPoy7iZ6DOFXw8fhnc1GLo/jx/zc | |
nqsenNESRkSsT2shA9HrF0+sf2cuxoksIArRzj5rIta2PWVV19xjxE= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=3Ra504YG/YEW3LW5wt3Ud3AF5CI=; b=UMktGJU+dMCJnH9a5WM30TzvgCGc | |
ep2ySyC351Z8QPFBiapx6D34Hdq3PS9SK6jbED0uuVWoPU6m1WGnKKKybylbAZVu | |
g1mmTOYqm7h8rwKqp8AU/Jv4CLumm+UCbHWd9bDwwJ3QZC8dv0PV629jeRttnb1X | |
/BNtDuByiG5XAi4= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-106.1 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=folder, Resetting, deselecting, CMD |
X-HELO: | mout.kundenserver.de |
Date: | Tue, 3 Mar 2020 17:46:10 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cat /proc/partitions shows only devices, not partitions |
Message-ID: | <20200303164610.GF4045@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <DB7PR01MB519331A257EE49789026959CD5E40 AT DB7PR01MB5193 DOT eurprd01 DOT prod DOT exchangelabs DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <DB7PR01MB519331A257EE49789026959CD5E40@DB7PR01MB5193.eurprd01.prod.exchangelabs.com> |
--AO7xfgsPaN7qs9GL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 3 16:32, Hashim Aziz wrote: > Yes, this was what I expected you meant by elevated shell. I tried that e= arlier and got no luck (though I tried the link to the Cygwin terminal in m= y start menu=20 > not a desktop shortcut), and I just tried again after attempting several = permissions fixes but still no luck. >=20 > The permissions fixed I tried were: >=20 > - Right-clicking and deselecting Read-Only on the cygwin64 folder > - Resetting permissions with the CMD command: icacls c:\cygwin64 /reset /= t /l /c > - Taking control of the Cygwin folder with the following command (itself = run from an elevated window): > [...] When I was talking about permissions, I was talking about permissions on the native Windows devices, not any permissions on Cygwin files.=20 The strace output shows that you don't have permissions to call DeviceIoControl(IOCTL_DISK_GET_PARTITION_INFO) or DeviceIoControl(IOCTL_DISK_GET_PARTITION_INFO_EX) on the devices representing the partitions in the native NT device namespace, i.e., \Device\Harddisk0\Partition0, etc. Corinna --=20 Corinna Vinschen Cygwin Maintainer --AO7xfgsPaN7qs9GL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl5eidIACgkQ9TYGna5E T6Ab0A/+PdotSG48t4HKNv+oCHE/cTKYRIXRcfw99gL1QC2dkiQ6PwCkBzAJun+W AG1Gli3cXqE8aDlh80gnp85DFYj3V8cQrZYuep6990WVVA6qHQGy1LWfYAiG6Dqs i14zFXA4NjJkG4j8Drk0u1GrnTt2reH19X0oXtdnI+5xYpTAYWd51/moLQ1Ltlf4 /PAt3FRjkFZJVDl2REKJxaLoZyPhGl8DUmaUi69uj9whE3JmueyNAFgqOkgpb8WL xZFn7pSHZlPffBWMzbRpjTwoKRPHaq2XFGKrNYqIwUXCrOQFIdERNgAYOWVQKRvb tA+WeKxpBUCjfS7hEki9oLoB+O7PmLMOAvNZ/zJdm3g6sK5fZxfgXLmcQiY4ikq4 1YZvhCOD/fz55kF/3GlqO/zLkxGCHQwJGl6daeMA/PcJPeuZdDdyg9zlB2y07JHE 5k/gKfNH2vlJbhtcvweSlU/TycAA9nU4eML3fInGXKRfUliipT3lup3LsFIk18xo tniq7+N0fY/l0dJnm24YVN+QWkVmOzKq3r87pBR8B19/jNMvYcc4TqGeAyU7mwsx nH2vzwQum9xUt3xfMGVCcJePDz4dV1+P/vNXvm1fs227zv004Qvv2zX/MgrYyxG5 d2PpaXLO2pR9Uj6NOQE/gxY3zub5eNcPGMD5LuXfVzleWArvJgw= =0s3z -----END PGP SIGNATURE----- --AO7xfgsPaN7qs9GL--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |