From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "A. Peter Blicher" Newsgroups: gmane.emacs.bugs Subject: bug#41570: 26.3; dired chown Date: Thu, 3 Sep 2020 14:36:48 -0700 Message-ID: References: <83ftbksgmn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33303"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Cc: 41570@debbugs.gnu.org To: Stefan Kangas , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 04 00:02:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kDxJ8-0008XH-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Sep 2020 00:02:14 +0200 Original-Received: from localhost ([::1]:34648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDxJ7-0000UZ-Bv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 18:02:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDwvi-0001It-TT for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDwvi-0003s7-GW for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDwvi-0007Ij-CR for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "A. Peter Blicher" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2020 21:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41570 X-GNU-PR-Package: emacs Original-Received: via spool by 41570-submit@debbugs.gnu.org id=B41570.159916902628000 (code B ref 41570); Thu, 03 Sep 2020 21:38:02 +0000 Original-Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 21:37:06 +0000 Original-Received: from localhost ([127.0.0.1]:36376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDwuo-0007HY-6S for submit@debbugs.gnu.org; Thu, 03 Sep 2020 17:37:06 -0400 Original-Received: from resqmta-po-06v.sys.comcast.net ([96.114.154.165]:59345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDwun-0007H4-2g for 41570@debbugs.gnu.org; Thu, 03 Sep 2020 17:37:05 -0400 Original-Received: from resomta-po-05v.sys.comcast.net ([96.114.154.229]) by resqmta-po-06v.sys.comcast.net with ESMTP id DvXTk66rNePOGDwugkmPRn; Thu, 03 Sep 2020 21:36:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1599169018; bh=CGGF5QeHTxN0R9+WpIormI65gb7+D/yP5su5RcUnJ60=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=TKdoOdccA5rSlKDW/UJ8fc9yEUW12S1wkGkID8YGLMZ36DVnJyOtKxRxsdPeFI/vm wVti1vnxllOAntld4j6cRRgxx393F3c1YD+pb7HIYHNteHO8x4pwjFhbiQFj3gkm2l 9KKwNgPo7mUVVGRBo+EtNY0AAE5PtucNi7s5wHw3J3KdDLZV9fuNfiD5rvdqjE6Ibn 7J4Q5jpPIhcxYPFk2QD+G8veGYqgD7Ebh4Fnr1Sm749QWspovLli0o6CwWDbZve0rk TpM5Wl3qs6G5EMjXxLDaCKwdCJxtFeCAT8QT7ZkjXp4HZwygf2fS/clsozW7D5bATy XWJtR788/ZFQw== Original-Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-05v.sys.comcast.net with ESMTPSA id DwufkePEXOEMHDwugkD18L; Thu, 03 Sep 2020 21:36:58 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduiedrudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkpffffgggjggtgfesthejredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfeevjeevvdeigeehgeehhefgvdeugffhleeludevffevkeejhfffgfduieetfeegnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegv lhhiiiesghhnuhdrohhrghdprhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgv X-Xfinity-VMeta: sc=-100.00;st=legit In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187043 Archived-At: I'd say that while the windows takeown is crippled compared to chown, it would be useful to have an easy way in dired to invoke it, since it is better than nothing. I don't at this point claim that takeown is the same as chown, or that dired chown should invoke takeown, just that takeown functionality would be useful in dired. Apparently, with enough fancy footwork it is possible in windows to effectively chown, but from what I can see, it's a lot of fancy footwork. --peter On 9/3/2020 1:38 PM, Stefan Kangas wrote: > Eli Zaretskii writes: > >>> From: "A. Peter Blicher" >>> Date: Wed, 27 May 2020 14:46:39 -0700 >>> >>> Dired chown command complains that chown is not available for windows >>> systems. However, windows versions >= 7 (at least) have the "takeown" >>> command, which while not as comprehensive as the unix chown command at >>> least allows the current user to take ownership of a file/dir, as long >>> as the user has admin privileges. It would be useful for dired to >>> permit this possibility on windows systems. >> >> AFAIU, 'takeown' is different from 'chown', in that it only allows to >> change the file's owner to either the current user or the >> Administrators group, it doesn't allow you to change the ownership to >> any other user except one of those two. Also, I think the command >> requires elevation, doesn't it (thus you mention "admin privileges")? >> >> So I'm not sure that command is a good replacement for 'chown', but >> maybe you have something in mind I'm missing? > > The proposal here was to change chown for takeown in Dired. From the > discussion, it seems like this is not a technically good solution. > > Is there anything more to do here, or could this bug report be closed? > > Best regards, > Stefan Kangas >