From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#41570: 26.3; dired chown Date: Thu, 3 Sep 2020 20:38:23 +0000 Message-ID: References: <83ftbksgmn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15939"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "A. Peter Blicher" , 41570@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 03 22:39: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 1kDw0s-00043Z-C9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 22:39:18 +0200 Original-Received: from localhost ([::1]:35168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDw0q-0006Pz-Vb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 16:39:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDw0c-0006Pn-SH for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 16:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDw0c-0003Hi-JI for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 16:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kDw0c-0003iE-GX for bug-gnu-emacs@gnu.org; Thu, 03 Sep 2020 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Sep 2020 20:39: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.159916551214233 (code B ref 41570); Thu, 03 Sep 2020 20:39:02 +0000 Original-Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 20:38:32 +0000 Original-Received: from localhost ([127.0.0.1]:36307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDw08-0003hV-8c for submit@debbugs.gnu.org; Thu, 03 Sep 2020 16:38:32 -0400 Original-Received: from mail-ed1-f54.google.com ([209.85.208.54]:44301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDw06-0003hJ-UP for 41570@debbugs.gnu.org; Thu, 03 Sep 2020 16:38:31 -0400 Original-Received: by mail-ed1-f54.google.com with SMTP id b12so3974383edz.11 for <41570@debbugs.gnu.org>; Thu, 03 Sep 2020 13:38:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=ttg+ISjCpBASqgOcckiSW2WSKERXpgZGkyrbGMzYYeM=; b=h/DqfjeKrpRECaHGZDhE3JRX5ppsUFMEBMLMbLs+0K4pPqVeLtMkkrruaUTbAeMrx8 4C8E3MMBraQM28nui5LXe61Dz8XKV2dwrgSBj7+tpsJqYZI4QDPXvJqkPK5z4f7Fxa/M 2hIH55FT8dZR/FRDBB/Hhw/9AHiVdBcJZT8Djgh381ocLV/+xgMwm+LqNlulr36Ayhuc 4MuFE39i2zNZSoS4qlCCQ0LoOzyBgyaIgNruCDXO9jCDsgkiMqop3x83zzWEKqw9YAjx rkhg1W5teNtAElM9fTO71s6hbD1w2Ozu3FWGq+g0WIkWJcoCtnM7uART6M2uqzg8ZiAF LOiw== X-Gm-Message-State: AOAM530I6u9XVai9uwVCQNDZIoS3mjYTAwQbOxxjVmAJXiy6eVgprdUV 10Ph2n+VezqlDxKjBUbOgDOcIZMxnfnJBN14rIo= X-Google-Smtp-Source: ABdhPJxw8aCQhN06BSFwYik+8xM9e6nJdHfQAR0LsqZijS6RYEIaveCncRtrBkfqLXfUDOyxRWmpChAUXBKiARwQQWI= X-Received: by 2002:a50:ce06:: with SMTP id y6mr4152627edi.273.1599165505112; Thu, 03 Sep 2020 13:38:25 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 3 Sep 2020 20:38:23 +0000 In-Reply-To: <83ftbksgmn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 May 2020 09:44:32 +0300") 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:187039 Archived-At: 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