From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111802 invoked by alias); 3 Mar 2020 16:32:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 111744 invoked by uid 89); 3 Mar 2020 16:32:12 -0000 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 Received: from mail-oln040092074083.outbound.protection.outlook.com (HELO EUR04-DB3-obe.outbound.protection.outlook.com) (40.92.74.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Mar 2020 16:32:10 +0000 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== Received: from VI1EUR04FT050.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::39) by VI1EUR04HT006.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0e::353) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.15; Tue, 3 Mar 2020 16:32:07 +0000 Received: from DB7PR01MB5193.eurprd01.prod.exchangelabs.com (10.152.28.60) by VI1EUR04FT050.mail.protection.outlook.com (10.152.29.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Tue, 3 Mar 2020 16:32:07 +0000 Received: from DB7PR01MB5193.eurprd01.prod.exchangelabs.com ([fe80::2490:19bb:989:6820]) by DB7PR01MB5193.eurprd01.prod.exchangelabs.com ([fe80::2490:19bb:989:6820%5]) with mapi id 15.20.2772.019; Tue, 3 Mar 2020 16:32:07 +0000 From: Hashim Aziz To: "cygwin@cygwin.com" Subject: Re: cat /proc/partitions shows only devices, not partitions Date: Tue, 03 Mar 2020 17:21:00 -0000 Message-ID: x-ms-exchange-antispam-messagedata: vK1ybsewIl5Wz8G+mbSavSDZ0+0JwYFGszC3hbvYXmnjHb+PDZ358/Fvdtn3lhpOXi/DEmGVagcxu0cd06hzZqa4UpMlXOSeLXCteH5miC73lTUHAAabMWnKZ891clDpMFDDHBCaNZI//BFgzwi4+w== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00052.txt Yes, this was what I expected you meant by elevated shell. I tried that ear= lier and got no luck (though I tried the link to the Cygwin terminal in my = start menu=20 not a desktop shortcut), and I just tried again after attempting several pe= rmissions 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 ru= n 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 =20=20=20=20=20=20=20=20=20=20=20=20 Whether the above output is normal or not I'm unsure. =20=20=20=20=20=20=20=20=20=20=20=20 From: Corinna Vinschen Sent: Tuesday, March 03, 2020 10:44 AM To: Hashim Aziz Cc: cygwin@cygwin.com Subject: Re: cat /proc/partitions shows only devices, not partitions =20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20 On Mar=A0 3 00:54, Hashim Aziz wrote: > Hey Corinna, thanks for your quick reply. >=20 > 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 --=20 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