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:38:48 -0700 Message-ID: <3a58d83b-7362-1f3c-13b6-85244b784645@comcast.net> References: <83ftbksgmn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5673"; 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 Thu Sep 03 23:56:18 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 1kDxDL-0001H7-4Y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 23:56:15 +0200 Original-Received: from localhost ([::1]:39660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDxDK-0007FV-62 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 17:56:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDwxe-0005Qe-NI for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDwxd-0004L0-Vi for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDwxd-0007Lg-TB for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 17:40:01 -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:40:01 +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.159916914828180 (code B ref 41570); Thu, 03 Sep 2020 21:40:01 +0000 Original-Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 21:39:08 +0000 Original-Received: from localhost ([127.0.0.1]:36380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDwwl-0007KS-KT for submit@debbugs.gnu.org; Thu, 03 Sep 2020 17:39:07 -0400 Original-Received: from resqmta-po-07v.sys.comcast.net ([96.114.154.166]:43449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDwwj-0007Jy-QI for 41570@debbugs.gnu.org; Thu, 03 Sep 2020 17:39:06 -0400 Original-Received: from resomta-po-11v.sys.comcast.net ([96.114.154.235]) by resqmta-po-07v.sys.comcast.net with ESMTP id DpEskFNCGgKFQDwwdkEck5; Thu, 03 Sep 2020 21:38:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1599169139; bh=Uceth88wgB8wYgXJjmO4SSWYBF+zfQ/q7GjNZD33JzM=; h=Received:Received:Subject:From:To:Message-ID:Date:MIME-Version: Content-Type; b=Vi33XO3aIyAJd3xQt7RvK9UPooKYjyIAtsx273l/lNqaE6NrCnGSa3j3uq5W+i4TE RaVtaRQLtMQC/rAECtETBWY2xOqk+OtFc35o8UQvzaOzGz2hUzIiAevoPSdq70SKyU PZMlTDniDdQmI0KBhLUejq/gYJo4+iZx1YoUYxW5p2f9KlhnaaCIE6p8A/peWstSSF c5BmvqHiEv1sm7mEsfICrEYjmRDrcXKrIiPLP4osDzL0DeZDkCYalkX10uJsr142xK MAmngTtVDbba8bcSs+U9nhdfwzoS+Yi6DdMDPz6/oBWNc7tUavrnW3LDRWMCDmP+/o WZZR6HFyYydQQ== Original-Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-11v.sys.comcast.net with ESMTPSA id Dwwcky3gFvtDpDwwdkUgNb; Thu, 03 Sep 2020 21:38:59 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduiedrudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuhffvfhfkpffffgggjggtgfesthekredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfefgtdejtdetteeitdevgefgheehiedtjeegffelveetjeeuhffhleethfdvtdfgnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegv 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:187041 Archived-At: Maybe I should have added that although I still see the usefulness of this feature, I have no opinion on whether you should close the bug, since if anyone implements this, it's going to be me anyway. --peter On 9/3/2020 2:36 PM, A. Peter Blicher wrote: > 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 >> > >