delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/09/14:12:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=NTcgumhUeT9Maa4+xhbKl4rZa5hL2+HeQxECJ3KroUsvZZ7t3dth5Xa9spxvvA1ILzb1Ets67MGgXxNnX2gVvOqg0wDQXmN+ezsC4VvTlRFjficotaUQGoO6rd+dA+vk6JP5j4936JtafESLItO4imNHq1Muvu8YBGEEfUAJeb+bqCSMU11iKwictFozt3VTgxgepgTC61lQ/bsd0ZwGd8Ntz92uoxeTwcDov9jvuaDwdGqavuycyhzPekNmwL6il0uksGfNn9CrSp6NKmXX1NwLabM922YQM1DBHuwcJHsmlZoOGjVtadHxd7fQTlB+FjRmoFtyk0mZgIoCjHO69Q==
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=NcAGJ5PLe17jRAy0b8aw7NQT5OD5fCYt1sn0/Pumyj4=;
b=gGmMk6o5z+5kkWAULiw4m3uwtL7gPpTbzpxBr3j3Bh3b/HHFvL5Oyxq3Zg/Pg7glKnh1epTy23wIOIxNU50YdpF3NX8vlM3wSXlKuMGMZK2CUMgKJ9asOZtGO721RVdlrvPe5hB8y1LAuqqPzfj8mqL++oB8oknwPdvaZSI6RaXP47+bBGXMecQyECWisBFhYzMQtYS2JteC6C4mlwA04rrSXEcgqEvCYOsB9CfIhMU6oz5WIkLSX+wxDdLIcoqh0y3wqF1vt4h7Pg94pPzK9HMcM5Ek74YiD9qX3R4uC1B4BJTI/VNZKn8oCMxYgoV7I6wWNMqQ18nh8QphDcwFKg==
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=NcAGJ5PLe17jRAy0b8aw7NQT5OD5fCYt1sn0/Pumyj4=;
b=Q7iGmS9W4M8F6TCbb5PxiHQAtoTD/WBjSzcl3c7qIiyKEYtcef1U1FcokD6Evis9LgkLDE7DJ2x91pcWOPfpORjW5FEfbr/t9iPS+zUMZ+927wiJUyJ7MMrdQvMuADxA3IeTIwjQ02489ZbnstLDbH3iPQ7KnhdNMZAM23oWsW4oFnZmJCt7st+25sC6gAEoanWY2QGfnvfFbAhKuQexl0GX3KMR2gFaPF3syPVa+WHW4WiLJdCtucMUPu96+8jnENTDg1oGssJnF1aV9h3ACNQCADhxa2577QLZxrYJDnCiRla2TC8hLjqjaEB5gBU53gcXuf72R5NoA+fJnSqFvg==
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
Thread-Topic: cat /proc/partitions shows only devices, not partitions
Thread-Index: AQHV8Xklt7/FJm/Kt0mUnGjBV2hrRKg9nLbO
Date: Sat, 7 Mar 2020 20:36:56 +0000
Message-ID: <DB7PR01MB5193875341A6E76EFB77D6F8D5E00@DB7PR01MB5193.eurprd01.prod.exchangelabs.com>
References: <DB7PR01MB519331A257EE49789026959CD5E40 AT DB7PR01MB5193 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
In-Reply-To: <DB7PR01MB519331A257EE49789026959CD5E40@DB7PR01MB5193.eurprd01.prod.exchangelabs.com>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:3641155A9472C9534F1506CCD81B740CE076C0944109E2FE7A8A72C413D765AD;
UpperCasedChecksum:8C8B7D2B61AAA25CA90E87B312C22E429FDCCE710D5442A1E3A2F327E1247AD2;
SizeAsReceived:7012; Count:45
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [WY6uEbOe+XJS6x7eC5rbqTr6f+QHKI5aknrGET2Q8vc=]
x-ms-publictraffictype: Email
x-incomingheadercount: 45
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: ccd57d76-2bdf-43e2-e6a5-08d7c2d7476b
x-ms-traffictypediagnostic: DB8EUR05HT062:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: LOmxVIvJhPMhAgyBeGIQ6X2zWKEdUEBjTPFZ/5ND/0rz8DpjePLqAOzyuZ13Wql8fdK82GJV1SimE85SiqjZL8wPBa+5OzpFvcEieEfWxzIk5gbDs8z04os03N32OLEpqyQbCCFpxfrb55FBTfISXwqYhXXk7BabGynpRbfdKHElaAGcYkVzbHxLq5ZH9mYF
x-ms-exchange-antispam-messagedata: z4q7SvXu/F7acwBgFRpiwXOVF9ovW5H/+XPR2bltvaf+gt0Rlk4uUDqYVUkyunVKl4tyajXQrItmQ1VnxATXoSjvMXIX4N90S5u1V0f1YG+3hAOWteA4pNo5sx37cjcEvt1VbS8hffwJT02DlqdkEQ==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: ccd57d76-2bdf-43e2-e6a5-08d7c2d7476b
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2020 20:36:56.7585 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT062
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_INVALID,DKIM_SIGNED,FORGED_SPF_HELO,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

An update to this, I resorted to nuking and then re-installing Cygwin from scratch, and the problem STILL persists. This seems to suggest that something is wrong with Windows itself that is responsible for Cygwin no longer being able to see the the drive letters that partitions are mounted at, but what that something could be I have no idea anymore.
________________________________
From: Hashim Aziz <hashaziz AT hotmail DOT com>
Sent: 03 March 2020 4:32 PM
To: cygwin AT cygwin DOT com <cygwin AT cygwin DOT com>
Subject: Re: cat /proc/partitions shows only devices, not partitions

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.htmlFAQ:                   http://cygwin.com/faq/Documentation:         http://cygwin.com/docs.htmlUnsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple"

- Raw text -


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