delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/03/11:33:09

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=nib
fbKjecCjOaXJihN8S5qQm8VfXztLObwIv3HRdR2ZcPP8uhf8feqZ3mR+GWoEj2n+
gLkfM52of8uFlQYr/I71ONxzBg619UtnJq0OWG3NrUIOIHrqYY9oM57qXiEqVLOr
L3I2oMzf+UVxYecrM65M3SSK864eVbkq6ptEDKh8=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=1pcRN5Zpi
RmxVFc6D0enRaKPBRY=; b=OAKb7FsgUAaRvgH1wYadJUrirOcQtmdHaR7xWnnPM
MfBcz9WeU9qurnvybg7ymA8yntZCDXlaDSJ0anJFwZTGrxryRoVb5FBCU+f36aL+
UYROOse3WjwMeutZMteCzVH2wBtjA73S+3zCfTl104NFOS+Un/g03IDBYLoZFCtb
WI=
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=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=UD:hotmail.com, hotmailcom, hotmail.com, HX-OriginatorOrg:hotmail.com
X-HELO: EUR04-DB3-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y+8QPGWrRHobNjtkpVb5rGpWksZP8JjNYTTeAsWxilrqlrD0OLihdfEq3w0lceQ0wJwHEww0KKF4oNanK48sOi/TuGPcKg8o/t3W7V8+zmpnPkduykkT4GkGua5Rx9oL7fcRl9E1RPugeMPpoZ4LYx7Ntig6k6qCdK5zu5PC1Jn4Kue+HX426P5vbEDyaW7amsg6IrRFz6B+lZQ2yF6Xd0QvUl3sBc7PnFWS1qPsqaQ1FXXLkh+hLyHwccI+IevwBHm8DT9UMhUgY6sTcQYbKh+L1nqoWJ7E35K2W6XmtKUoOah/ptLUpDxRExsmTZAtHpBG7qgNQB+6gUAau60HVg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPCWbKCNeuDavGCZiZD+eOhoRsO0TN/UqBZvR1AtXWg=; b=f27w0cVtqnR5Vwo39Tt8fGK3CxsOjaj5thrT0ilRTnrlYge4/pcGfdpT0qhwDxERxI8iEHpqg0GzW6Wsa8jeAVdTzwu7JkXeoLi0e4JGK3S/6nSgDbcEMz5g35KzAOjhWvkPjAg6V7UnSq1OQrTrYl/ySHf4k3lpw1w0A3JMq+GlQFJ/ryBEW2T/59X+rVtNrwpafFBZEqamCYyeL7n9uOjPHnu6WnA6kmCXmyD6Ok4x/eQL9gwW8qRJS35CIi1Ct/RalNioiXsx8fgfNAt03kFM+7KRYZyupjquTGWxDCDhIkAuMDZlNKaUP1RluUpr6x8iJsh6MezABqAJH/+QgA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPCWbKCNeuDavGCZiZD+eOhoRsO0TN/UqBZvR1AtXWg=; b=H79CadWWhNApKFzueis7zDb2bxl1o4lloTvn+M9T6uM7h+rEu1pfrrfpKyCUAx7oe6GF0BDHE0OEfJvfNK2ydNrFZP2Dn0wCCHGuPRl6DFyQ60ySE8LXACswpgRYiJ3OzLsSmXLIZqTMxhVOzwMbixOev33tMdhuWyTo9WA90QOV0OXcHYrdTiV5FgEc6ncDf/QOWguXNtTR010A6f2SUw8cOIO2FSAB6/nN0NVIjuPElIEcbdK/A3Iw/TWl/jLMFuajHslPDtJOLaLrOpIGAGeWVYj5o2zaTD61NM+1YLYsBWDBmftbZRmlvaJ2NYUHkYkSMgwuKgohr2iN3UfWkQ==
From: Hashim Aziz <hashaziz AT hotmail DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: cat /proc/partitions shows only devices, not partitions
Date: Tue, 3 Mar 2020 16:32:07 +0000
Message-ID: <DB7PR01MB519331A257EE49789026959CD5E40@DB7PR01MB5193.eurprd01.prod.exchangelabs.com>
x-ms-exchange-antispam-messagedata: vK1ybsewIl5Wz8G+mbSavSDZ0+0JwYFGszC3hbvYXmnjHb+PDZ358/Fvdtn3lhpOXi/DEmGVagcxu0cd06hzZqa4UpMlXOSeLXCteH5miC73lTUHAAabMWnKZ891clDpMFDDHBCaNZI//BFgzwi4+w==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 023GWpa4026387

Yes, this was what I expected you meant by elevated shell. I tried that earlier and got no luck (though I tried the link to the Cygwin terminal in my start menu 
not a desktop shortcut), and I just tried again after attempting several permissions fixes but still no luck.

The permissions fixed I tried were:

- 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):

$ chown $USER /* -v
ownership of '/bin' retained as Hashim
chown: changing ownership of '/cygdrive': Permission denied
failed to change ownership of '/cygdrive' from Hashim to Hashim
chown: changing ownership of '/Cygwin.bat': Permission denied
failed to change ownership of '/Cygwin.bat' from Hashim to Hashim
chown: changing ownership of '/Cygwin.ico': Permission denied
failed to change ownership of '/Cygwin.ico' from Hashim to Hashim
chown: changing ownership of '/Cygwin-Terminal.ico': Permission denied
failed to change ownership of '/Cygwin-Terminal.ico' from Hashim to Hashim
ownership of '/dev' retained as Hashim
ownership of '/etc' retained as Hashim
ownership of '/home' retained as Hashim
ownership of '/lib' retained as Hashim
ownership of '/opt' retained as Hashim
chown: changing ownership of '/proc': Operation not permitted
failed to change ownership of '/proc' from Hashim to Hashim
ownership of '/sbin' retained as Hashim
ownership of '/srv' retained as Hashim
ownership of '/tmp' retained as Hashim
ownership of '/usr' retained as Hashim
ownership of '/var' retained as Hashim
            
Whether the above output is normal or not I'm unsure.
            


From: Corinna Vinschen
Sent: Tuesday, March 03, 2020 10:44 AM
To: Hashim Aziz
Cc: cygwin AT cygwin DOT com
Subject: Re: cat /proc/partitions shows only devices, not partitions
            


            
On Mar  3 00:54, Hashim Aziz wrote:

> Hey Corinna, thanks for your quick reply.

> 

> Regarding the elevated shell - I'm unsure of exactly how to run an

> elevated Cygwin shell?



Right click on the Cygwin Terminal icon on the desktop, choose the

item "Run as administrator".



I have no idea why your system has different permissions, but at least

you should be able to see the info in an elevated shell.



Corinna



-- 

Corinna Vinschen

Cygwin Maintainer


--
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


- Raw text -


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