From debbugs-submit-bounces@debbugs.gnu.org Wed May 27 18:18:02 2020 Received: (at submit) by debbugs.gnu.org; 27 May 2020 22:18:02 +0000 Received: from localhost ([127.0.0.1]:50241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je4N6-00030k-W4 for submit@debbugs.gnu.org; Wed, 27 May 2020 18:18:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:46010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3sv-0001py-7k for submit@debbugs.gnu.org; Wed, 27 May 2020 17:46:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je3su-0005jH-VX for bug-gnu-emacs@gnu.org; Wed, 27 May 2020 17:46:48 -0400 Received: from resqmta-po-09v.sys.comcast.net ([2001:558:fe16:19:96:114:154:168]:44814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je3ss-0006jn-OR for bug-gnu-emacs@gnu.org; Wed, 27 May 2020 17:46:47 -0400 Received: from resomta-po-01v.sys.comcast.net ([96.114.154.225]) by resqmta-po-09v.sys.comcast.net with ESMTP id e3LzjQ7P0jksTe3sojPyc2; Wed, 27 May 2020 21:46:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1590616002; bh=7V2wTqAH6avfIeqhauIY93j+kWJWo4NF6/V65mFfTVs=; h=Received:Received:To:From:Subject:Message-ID:Date:MIME-Version: Content-Type; b=wxYYrF0sG0fs5D1fztoJgQx2DP2PAivOHy8FgfL0fPtHJ+NY0RT1odqK1ZT3Bmusc 5wE085graluAsKI0tGbtXxU2XrWF6i4yUNlhYuQKuSvan+hj96LX9blSZn4H1HuDy5 /s8qJRcCujlLPTbhfbvxnNdVaX0K3JuFwjPMVq/eia3noDgJYoX0TLWgeCCNsQhIAH SMJDX+2owsUpNjNwMG8wl+qkHcmKIhFwu9Lv2JGdChI764ZN5/K+AwkQQHiJL+YFt6 a24kMsM58fUT6SfcnSlrL0YTu/W+u8BJ3qS2kW31z2vR4WTK7T23bLbx8vd7ovQe/9 tJkobpjLuhhng== Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-01v.sys.comcast.net with ESMTPSA id e3snjd9pP9e6De3snjN75v; Wed, 27 May 2020 21:46:42 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduhedruddvhedgtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpefvhffukffffgggtgfgsehtjeertddtfeejnecuhfhrohhmpedftedrucfrvghtvghruceulhhitghhvghrfdcuoegslhhitghhvghrsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeejgfeffffhkeduvefghffftdetgeeggeffgedvudffuefgudetkefgjeeliedvffenucfkphepleekrddvgeekrddufedrieejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduuddvngdpihhnvghtpeelkedrvdegkedrudefrdeijedpmhgrihhlfhhrohhmpegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-Xfinity-VMeta: sc=0.00;st=legit To: bug-gnu-emacs@gnu.org From: "A. Peter Blicher" Subject: 26.3; dired chown Message-ID: Date: Wed, 27 May 2020 14:46:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2001:558:fe16:19:96:114:154:168; envelope-from=blicher@comcast.net; helo=resqmta-po-09v.sys.comcast.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/27 17:46:42 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 27 May 2020 18:17:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 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. In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Recent messages: Loading faces-pb...done Loading files-pb...done Loading vkill...done For information about GNU Emacs and the GNU system, type C-h C-a. Type C-x 1 to remove help window. mwheel-scroll: End of buffer Quit [2 times] Making completion list... funcall-interactively: Buffer is read-only: # Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt bytecomp byte-compile cconv format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree help-mode apropos elec-pair cl-macs time ps cl gv cl-loaddefs cl-lib paren dired-x easymenu dired dired-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 108712 7836) (symbols 48 21063 1) (miscs 40 71 129) (strings 32 33626 939) (string-bytes 1 844459) (vectors 16 15081) (vector-slots 8 528297 8530) (floats 8 70 295) (intervals 56 510 13) (buffers 992 15)) From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 02:44:50 2020 Received: (at 41570) by debbugs.gnu.org; 28 May 2020 06:44:50 +0000 Received: from localhost ([127.0.0.1]:50782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeCHa-0002w1-0b for submit@debbugs.gnu.org; Thu, 28 May 2020 02:44:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeCHY-0002vo-AD for 41570@debbugs.gnu.org; Thu, 28 May 2020 02:44:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55990) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeCHT-0000Vy-0k; Thu, 28 May 2020 02:44:43 -0400 Received: from [176.228.60.248] (port=4255 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jeCHR-0001xT-FZ; Thu, 28 May 2020 02:44:42 -0400 Date: Thu, 28 May 2020 09:44:32 +0300 Message-Id: <83ftbksgmn.fsf@gnu.org> From: Eli Zaretskii To: "A. Peter Blicher" In-Reply-To: (blicher@comcast.net) Subject: Re: bug#41570: 26.3; dired chown References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 11:54:40 2020 Received: (at 41570) by debbugs.gnu.org; 28 May 2020 15:54:40 +0000 Received: from localhost ([127.0.0.1]:52870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeKrg-0004cm-Ap for submit@debbugs.gnu.org; Thu, 28 May 2020 11:54:40 -0400 Received: from resqmta-po-04v.sys.comcast.net ([96.114.154.163]:37095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeKre-0004cZ-Ti for 41570@debbugs.gnu.org; Thu, 28 May 2020 11:54:39 -0400 Received: from resomta-po-04v.sys.comcast.net ([96.114.154.228]) by resqmta-po-04v.sys.comcast.net with ESMTP id eJGyjY1sMYN1DeKrYjZboR; Thu, 28 May 2020 15:54:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1590681272; bh=U1BE0CSHdQ7q+R1QkTArn0Af86bYuMT1QUi2CbFUCFw=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=uE1HKEybFOiYnYAUkTBMHSPXKcfB1J3ZkqGhHzxCr6O34KgtuUkRnCvUEcWE0n4ax muMcZbBP/HDU3VtTluRaUvTIB/B6dbGta4AVIeFr/CbagniNTnlZ4Rzq6aQAzka8JU AQS6PUtk/IaYPj69hEa5yd9Etxfwl80S6W1hTGdGw2zbRu1VwlZmL161l0o89tgHgk AY3uM8msS/DLdhTaB5/izMzD8eZFVSHeK/VllORf3UJjzUICpdocwpL7c/yX2Ul26P aBaeR52Ev/MPu935znOuWvKoCFph4YL/frgV4P8t73xtHND8TntkJ84YRIjLsYMeOE 0+DIdhNnkc4Eg== Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-04v.sys.comcast.net with ESMTPSA id eKrXjwpKBpXeGeKrYj9vSO; Thu, 28 May 2020 15:54:32 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduhedruddviedggeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepudfgveeivdffudeuuddvfeeitdegvdehteeuleduudeltdeitdfgkedukeefieejnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit Subject: Re: bug#41570: 26.3; dired chown To: Eli Zaretskii References: <83ftbksgmn.fsf@gnu.org> From: "A. Peter Blicher" Message-ID: <12570db6-9d3b-b0d5-3e5f-7953fe615d28@comcast.net> Date: Thu, 28 May 2020 08:54:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83ftbksgmn.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Correct, takeown is not the same as chown. Also, Windows is not the same as Unix, unfortunately. takeown provides some of the capability of chown, thus it would be useful to have that functionality. Yes, the logged in user must have, as far as I know, admin privilege to use it, i.e. be 'elevated'. However, I would find that bit of functionality useful. No, takeown is not a replacement for chown, it's just a tiny bit of extra functionality in the same vein. The main reason I have more use for chown in windows compared to when I was using Unix is that Windows creates a profusion of different ownerships even for files I create under a single user (depending on how they were created), resulting in a mess that I often need to clean up. That mess is most evident using Dired, because it shows ownership by default, while usually Windows hides that information. The requirement for elevated privilege is not an issue for me, because I run in that mode all the time, against all advice, mainly because Windows' permission handling is so screwed up and opaque. However, for those who don't, that might either require extra code to handle, or maybe Windows would raise an elevation prompt dialog, not sure. Thanks for considering it. --peter On 5/27/2020 11:44 PM, Eli Zaretskii wrote: >> 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? > > Thanks. > From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 12:16:27 2020 Received: (at 41570) by debbugs.gnu.org; 28 May 2020 16:16:27 +0000 Received: from localhost ([127.0.0.1]:52909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeLCk-0005Cx-OJ for submit@debbugs.gnu.org; Thu, 28 May 2020 12:16:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeLCj-0005Ci-06 for 41570@debbugs.gnu.org; Thu, 28 May 2020 12:16:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36081) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeLCd-0006KS-Nw; Thu, 28 May 2020 12:16:19 -0400 Received: from [176.228.60.248] (port=3561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jeLCd-00087A-3a; Thu, 28 May 2020 12:16:19 -0400 Date: Thu, 28 May 2020 19:16:10 +0300 Message-Id: <83y2pcqblh.fsf@gnu.org> From: Eli Zaretskii To: "A. Peter Blicher" In-Reply-To: <12570db6-9d3b-b0d5-3e5f-7953fe615d28@comcast.net> (blicher@comcast.net) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> <12570db6-9d3b-b0d5-3e5f-7953fe615d28@comcast.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 41570@debbugs.gnu.org > From: "A. Peter Blicher" > Date: Thu, 28 May 2020 08:54:29 -0700 > > The main reason I have more use for chown in windows compared to when I was > using Unix is that Windows creates a profusion of different ownerships even > for files I create under a single user (depending on how they were created), > resulting in a mess that I often need to clean up. The usual remedy for that is to take ownership on the parent directory of where you are working (and all of its subdirectories), so that it is owned by your user. You do that once for a directory high enough in the directory tree, and all your problems will be solved henceforth. From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 12:26:54 2020 Received: (at 41570) by debbugs.gnu.org; 28 May 2020 16:26:54 +0000 Received: from localhost ([127.0.0.1]:52918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeLMr-0005Ru-Vk for submit@debbugs.gnu.org; Thu, 28 May 2020 12:26:54 -0400 Received: from resdmta-po-02v.sys.comcast.net ([96.114.154.210]:54396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeLMr-0005Rh-2T for 41570@debbugs.gnu.org; Thu, 28 May 2020 12:26:53 -0400 Received: from resqmta-po-08v.sys.comcast.net ([96.114.154.167]) by resqmta-po-12v.sys.comcast.net with ESMTP id eL33ji5rkKFgdeLMkjAUtl; Thu, 28 May 2020 16:26:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1590683206; bh=BhEtoet8NHF6/yVGsWHnqGaw8EkbwxSvcV6lCfnr8ac=; h=Received:Received:Received:Subject:To:From:Message-ID:Date: MIME-Version:Content-Type; b=oFV/UNDIQ8I7fsyriXSOIO7Gw8zxsg/zZq2Sj0XqdbP/ss0fgC6xFmX4WwNU8Krfq JT1lpbMmIse2qedi67jtHb3RJXfTWzoGzGDPNu7463e5Rqf02nFzUyBeM/9sjJRzSY HOd+52SPNWnU7l8Vop6vwEvHJr5dyN/btkICokSdtJatupibTdjZGNlJGscvzlTkZE YuqQK6UGYXtFDLt3NXxCvsjlTEd1fN907srJy4U1XIJlaxUQVKgYvqQJ5zxT8rBn5F M/Smw1uGxMdp7BJ2xR5cujtLTxanN8559MR3T18lzltRwZBVsro2XoGCFJS9eiIA4w 4uaYuqeYkIrqA== Received: from resomta-po-02v.sys.comcast.net ([96.114.154.226]) by resqmta-po-08v.sys.comcast.net with ESMTP id eJAwjJlEbwG4WeLMkjrWoq; Thu, 28 May 2020 16:26:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1590683206; bh=BhEtoet8NHF6/yVGsWHnqGaw8EkbwxSvcV6lCfnr8ac=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=5pDcAc5sgmjwdSzNUCsmnSc2Vif7+5zw6gV3ovz3x+MU3y52vTn65Pz9O3mB8ENDn veVwzwIt5UWpKMiIG5T6JvGdYKyP+hrkokG1qI+8mfDGu9DCfQ8iUgX9vU3O9TKo/Z mgusGmO2Azul5kJH+PavlJgtZ8YMccqb9t9SiuNvfD4MNAPZOeV82JQjk+pmmN1L3P S23huNkdBWzbGL/FjhaVEPTN/MqqU/9LuYByYJmWm2wB8m2GRoA32oQPos9D+V6nbG moANb0bee80kMoPocxt91xxWDQsKvNh59SbY8IKC0qjqPL95gQ80Xk0KMzlYaHBIX0 +SE7mibHI7Lmg== Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-02v.sys.comcast.net with ESMTPSA id eLMjjetPH56TLeLMkjEjhz; Thu, 28 May 2020 16:26:46 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduhedruddviedghedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepudfgveeivdffudeuuddvfeeitdegvdehteeuleduudeltdeitdfgkedukeefieejnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit Subject: Re: bug#41570: 26.3; dired chown To: Eli Zaretskii References: <83ftbksgmn.fsf@gnu.org> <12570db6-9d3b-b0d5-3e5f-7953fe615d28@comcast.net> <83y2pcqblh.fsf@gnu.org> From: "A. Peter Blicher" Message-ID: <7cb7f4b9-0904-9803-6a5f-5887a4ffd3bd@comcast.net> Date: Thu, 28 May 2020 09:26:43 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83y2pcqblh.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks, but I would be reluctant to do that without checking first all the files that might change, because one never knows what danger lurks in side effects. On 5/28/2020 9:16 AM, Eli Zaretskii wrote: >> Cc: 41570@debbugs.gnu.org >> From: "A. Peter Blicher" >> Date: Thu, 28 May 2020 08:54:29 -0700 >> >> The main reason I have more use for chown in windows compared to when I was >> using Unix is that Windows creates a profusion of different ownerships even >> for files I create under a single user (depending on how they were created), >> resulting in a mess that I often need to clean up. > > The usual remedy for that is to take ownership on the parent directory > of where you are working (and all of its subdirectories), so that it > is owned by your user. You do that once for a directory high enough > in the directory tree, and all your problems will be solved > henceforth. > From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 03 16:38:32 2020 Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 20:38:32 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 3 Sep 2020 20:38:23 +0000 From: Stefan Kangas In-Reply-To: <83ftbksgmn.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 May 2020 09:44:32 +0300") References: <83ftbksgmn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Thu, 3 Sep 2020 20:38:23 +0000 Message-ID: Subject: Re: bug#41570: 26.3; dired chown To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 41570 Cc: "A. Peter Blicher" , 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 03 17:37:06 2020 Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 21:37:06 +0000 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 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 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== 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: gggruggvucftvghtrhhoucdtuddrgeduiedrudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkpffffgggjggtgfesthejredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfeevjeevvdeigeehgeehhefgvdeugffhleeludevffevkeejhfffgfduieetfeegnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgv X-Xfinity-VMeta: sc=-100.00;st=legit Subject: Re: bug#41570: 26.3; dired chown To: Stefan Kangas , Eli Zaretskii References: <83ftbksgmn.fsf@gnu.org> From: "A. Peter Blicher" Message-ID: Date: Thu, 3 Sep 2020 14:36:48 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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 > From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 03 17:39:07 2020 Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 21:39:08 +0000 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 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 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== 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: gggruggvucftvghtrhhoucdtuddrgeduiedrudegvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuhffvfhfkpffffgggjggtgfesthekredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfefgtdejtdetteeitdevgefgheehiedtjeegffelveetjeeuhffhleethfdvtdfgnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgv X-Xfinity-VMeta: sc=-100.00;st=legit Subject: Re: bug#41570: 26.3; dired chown From: "A. Peter Blicher" To: Stefan Kangas , Eli Zaretskii References: <83ftbksgmn.fsf@gnu.org> Message-ID: <3a58d83b-7362-1f3c-13b6-85244b784645@comcast.net> Date: Thu, 3 Sep 2020 14:38:48 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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 >> > > From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 03 18:06:34 2020 Received: (at 41570) by debbugs.gnu.org; 3 Sep 2020 22:06:34 +0000 Received: from localhost ([127.0.0.1]:36407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDxNK-0007yp-De for submit@debbugs.gnu.org; Thu, 03 Sep 2020 18:06:34 -0400 Received: from mail-ed1-f44.google.com ([209.85.208.44]:42617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDxNI-0007yW-A9 for 41570@debbugs.gnu.org; Thu, 03 Sep 2020 18:06:32 -0400 Received: by mail-ed1-f44.google.com with SMTP id l63so4190745edl.9 for <41570@debbugs.gnu.org>; Thu, 03 Sep 2020 15:06:32 -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:mime-version:date :message-id:subject:to:cc; bh=SJC+64BDT029qrhNPGFXMvkw0PTFzudKHuBME8YLtHU=; b=NNBQK/FMnGxKP2ScB7cb06YDlGEkkqYXUE+nqdkWazQvTHeeiXlASpCyEEMWxKqTy+ uCkoEN2uMaB0IsnW1OW0pRtt9699fAzXhDS+Y+IAIJ4lEkPdaupWodLYi6OOOAZOPq0t eg/gnV4eo2vM72UFJL69H4l+6gJalPV2TqyOrugX98kYXE+RheXXHQb54rOoWn/HA/CS ubFmvZrTyg0g46dF4u1nIBli5w/W+heD8ht/ICsYU7yKn/wu/3Em88M1x1TN8ASogMWz nhEs5VAlD0MTDdyEXt1Sd3wuMrVCNY0YPxH7RQMDsOd3DrdIQzVwayElBtAlVBq2ng30 QHEg== X-Gm-Message-State: AOAM533F9UbquNhTwl/s8Vw0qDdJLH46xmBNdUxE+coGlhDvfQwNHuQg 8CWu00fNyScUgup/2HWw1RGTw1gfbJKXxU2Ez88= X-Google-Smtp-Source: ABdhPJwAVg2+MxsBpPntFkYuuvQ22k/AR5fhLinjQPRJPG1W9j2Ak6t7gM3nBu9O865ZAtxks/bBtyol4v42Hd5TpTs= X-Received: by 2002:aa7:cad3:: with SMTP id l19mr5198587edt.352.1599170786452; Thu, 03 Sep 2020 15:06:26 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 3 Sep 2020 22:06:25 +0000 From: Stefan Kangas In-Reply-To: References: <83ftbksgmn.fsf@gnu.org> MIME-Version: 1.0 Date: Thu, 3 Sep 2020 22:06:25 +0000 Message-ID: Subject: Re: bug#41570: 26.3; dired chown To: "A. Peter Blicher" , Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) retitle Add "takeown" command for Dired on Windows thanks "A. Peter Blicher" writes: > 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. Thanks. I know too little about Windows to have an opinion, but hopefully someone more familiar with that platform will chime in. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 03 18:48:55 2020 Received: (at control) by debbugs.gnu.org; 3 Sep 2020 22:48:55 +0000 Received: from localhost ([127.0.0.1]:36459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDy2I-0002nA-UD for submit@debbugs.gnu.org; Thu, 03 Sep 2020 18:48:55 -0400 Received: from mail-ed1-f50.google.com ([209.85.208.50]:34078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kDy2G-0002mn-JG for control@debbugs.gnu.org; Thu, 03 Sep 2020 18:48:53 -0400 Received: by mail-ed1-f50.google.com with SMTP id q21so4309244edv.1 for ; Thu, 03 Sep 2020 15:48:52 -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:mime-version:date:message-id:subject:to; bh=eLxQPIv1F5t2ZvF3lbrDw6YNzC7+nJHVQnj9MCjZRCc=; b=T0U90CZTrzMn4gq0oafjEBtN4PtjXSRkmwXy7oHSQwKJsnP2RILpJi0s8efGcDk2xf oCd+k081l8UI5NEEH+h06t2JQYeNKxnSz1GceGWEcAZyVoFWWur/dGS6B++gTDxOrnxN 7yHk4DUpVAKHM6JU+TvlEeOEsA4UKtWBp6MtfdtMIByIL/MfDwJ27fWJaaOaxdm534pJ Ny5HWaj8QJnUm3ck4ej86qGIBzQol8w1/vsKujtkLTC8LhN798Ld1gsRr9yNZo1gP83A t4o4fY5CMu7I+xN7XmUlWKpykF+vuU1mG/SLx7kLd5q+8YtKXxy4K2+8rHZ3fqOlGBvX hl+w== X-Gm-Message-State: AOAM531uO7S/I41Ikfig6YNHCxo8IlyYUb6cgdHYA7a/BSHmHlK2Gopo JZBCiHGBjYCIgxq0BZiXauJhwjE9xngUS6YHlZiLfCrx X-Google-Smtp-Source: ABdhPJwx31gNeV30XtAGU6ia0PyLhyyMuTGFAbRYFmmA3BsHW8SlQUa/QHyF3pA1k/0B6l7OZAi3u/CNc4/VDQ1Xxwc= X-Received: by 2002:aa7:cad3:: with SMTP id l19mr5341134edt.352.1599173326444; Thu, 03 Sep 2020 15:48:46 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 3 Sep 2020 22:48:46 +0000 From: Stefan Kangas MIME-Version: 1.0 Date: Thu, 3 Sep 2020 22:48:46 +0000 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 41570 Add "takeown" command for Dired on Windows thanks Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.50 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.50 listed in list.dnswl.org] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 41570 Add "takeown" command for Dired on Windows thanks Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.50 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.50 listed in wl.mailspike.net] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager retitle 41570 Add "takeown" command for Dired on Windows thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 02:58:35 2020 Received: (at 41570) by debbugs.gnu.org; 4 Sep 2020 06:58:35 +0000 Received: from localhost ([127.0.0.1]:37102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE5gA-0005TG-Pp for submit@debbugs.gnu.org; Fri, 04 Sep 2020 02:58:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE5g8-0005T4-NE for 41570@debbugs.gnu.org; Fri, 04 Sep 2020 02:58:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53904) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kE5g2-0001uo-VB; Fri, 04 Sep 2020 02:58:26 -0400 Received: from [176.228.60.248] (port=2554 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kE5g1-00052K-L8; Fri, 04 Sep 2020 02:58:26 -0400 Date: Fri, 04 Sep 2020 09:58:15 +0300 Message-Id: <837dtauiyg.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Thu, 3 Sep 2020 20:38:23 +0000) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: blicher@comcast.net, 41570@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Thu, 3 Sep 2020 20:38:23 +0000 > Cc: "A. Peter Blicher" , 41570@debbugs.gnu.org > > > 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? IMO, it should be closed. Users who want the chown capability on Windows will have to find a utility that is a more faithful emulation of its Posix namesake. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 07:35:12 2020 Received: (at 41570-done) by debbugs.gnu.org; 4 Sep 2020 11:35:12 +0000 Received: from localhost ([127.0.0.1]:37627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE9zr-0006bL-Pj for submit@debbugs.gnu.org; Fri, 04 Sep 2020 07:35:12 -0400 Received: from mail-ej1-f52.google.com ([209.85.218.52]:38542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE9zq-0006b1-KO for 41570-done@debbugs.gnu.org; Fri, 04 Sep 2020 07:35:11 -0400 Received: by mail-ej1-f52.google.com with SMTP id i22so8144430eja.5 for <41570-done@debbugs.gnu.org>; Fri, 04 Sep 2020 04:35:10 -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:mime-version:date :message-id:subject:to:cc; bh=QrFvBwNCq5kWJmWLuKkbVig1OKR0kpbSzlEe3728Lys=; b=I8j9mj7iqauG9aarjRNDC9jzUbRVEiSVVj03RFiMGar7uTMllY5CQicm7kYbG1dCe5 3PgcT9Drpe7sGqXjkLQOLSovUh7rAJTrpA5rACwBvl8XGHwQilCFqzVt3iZRTqxW92jJ Mv9WwgXP2Tj9qW0p7XLQCBBwFhyxgr4RvGzu2UwywnXVu0hu/Vp28iEafouw+rJk+WrJ e+TX98+wbTpg3x3FvKysoXy6QKnRIWDEJoysRIAaeaeT3ldHzy0TpryH+YJDjKurWmuY j6z8eQg1Uwc0Kz5snRsJ4wdYLWjT11zhUQihSWSkJdFreEfBJcZw1s07kctFwFT6m1/t xB3w== X-Gm-Message-State: AOAM5311C1foXtWUGnDsPzx8Q31eUwq/ShylVHMagN2Gxkc90F50ZcVp gG8gbwTbVvKEU+wO2+B4SgblB6KyEcgv4m7h7Ek= X-Google-Smtp-Source: ABdhPJyRVYAV5cGIbZfxVD6T/Df6yBmKwSk6AzUTCCZtFOJ0kI0RkdBU9HF82PTB+Adtdya0hm90Gnvwv/QNoTbLfbs= X-Received: by 2002:a17:906:a88a:: with SMTP id ha10mr7340731ejb.532.1599219304852; Fri, 04 Sep 2020 04:35:04 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 4 Sep 2020 11:35:04 +0000 From: Stefan Kangas In-Reply-To: <837dtauiyg.fsf@gnu.org> References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> MIME-Version: 1.0 Date: Fri, 4 Sep 2020 11:35:04 +0000 Message-ID: Subject: Re: bug#41570: 26.3; dired chown To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 41570-done Cc: blicher@comcast.net, 41570-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > IMO, it should be closed. Users who want the chown capability on > Windows will have to find a utility that is a more faithful emulation > of its Posix namesake. OK, I'm therefore closing this bug report now. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 23:17:51 2020 Received: (at 41570) by debbugs.gnu.org; 5 Sep 2020 03:17:51 +0000 Received: from localhost ([127.0.0.1]:41252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEOi7-0006Mf-4W for submit@debbugs.gnu.org; Fri, 04 Sep 2020 23:17:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEOi5-0006MS-0X for 41570@debbugs.gnu.org; Fri, 04 Sep 2020 23:17:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56090) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEOhz-0001Ox-BW; Fri, 04 Sep 2020 23:17:43 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kEOhy-0000GE-9g; Fri, 04 Sep 2020 23:17:42 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Stefan Kangas In-Reply-To: (message from Stefan Kangas on Fri, 4 Sep 2020 11:35:04 +0000) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> Message-Id: Date: Fri, 04 Sep 2020 23:17:42 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: stefan@marxist.se, 41570@debbugs.gnu.org, blicher@comcast.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Perhaps the Dired O command should give an immediate error, perhaps Changing a file's owner not supported on this OS. Switch to GNU/Linux. This would at least explain the situation. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 02:33:26 2020 Received: (at 41570) by debbugs.gnu.org; 5 Sep 2020 06:33:26 +0000 Received: from localhost ([127.0.0.1]:41409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kERlO-0002oa-3a for submit@debbugs.gnu.org; Sat, 05 Sep 2020 02:33:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kERlJ-0002oL-TL for 41570@debbugs.gnu.org; Sat, 05 Sep 2020 02:33:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59068) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kERlE-0004aB-2u; Sat, 05 Sep 2020 02:33:16 -0400 Received: from [176.228.60.248] (port=3881 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kERl5-0002iz-8u; Sat, 05 Sep 2020 02:33:08 -0400 Date: Sat, 05 Sep 2020 09:32:58 +0300 Message-Id: <831rjgraw5.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org In-Reply-To: (message from Richard Stallman on Fri, 04 Sep 2020 23:17:42 -0400) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org, stefan@marxist.se, blicher@comcast.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Richard Stallman > Date: Fri, 04 Sep 2020 23:17:42 -0400 > Cc: 41570@debbugs.gnu.org, stefan@marxist.se, blicher@comcast.net > > Perhaps the Dired O command should give an immediate error, perhaps > > Changing a file's owner not supported on this OS. Switch to GNU/Linux. But this is not true: if one has a 'chown' command available (and I do), it will and should work as intended. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 23:54:36 2020 Received: (at 41570) by debbugs.gnu.org; 6 Sep 2020 03:54:36 +0000 Received: from localhost ([127.0.0.1]:44476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEllE-00081v-7O for submit@debbugs.gnu.org; Sat, 05 Sep 2020 23:54:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEllA-00081f-Sx for 41570@debbugs.gnu.org; Sat, 05 Sep 2020 23:54:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45081) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEll5-0004LD-1F; Sat, 05 Sep 2020 23:54:27 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kEll3-0001lz-Rn; Sat, 05 Sep 2020 23:54:26 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Eli Zaretskii In-Reply-To: <831rjgraw5.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Sep 2020 09:32:58 +0300) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> <831rjgraw5.fsf@gnu.org> Message-Id: Date: Sat, 05 Sep 2020 23:54:25 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org, stefan@marxist.se, blicher@comcast.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Perhaps the Dired O command should give an immediate error, perhaps > > > > Changing a file's owner not supported on this OS. Switch to GNU/Linux. > But this is not true: if one has a 'chown' command available (and I > do), it will and should work as intended. I was replying to a message which seemed to say there was none, but I don't claim to know anything about Windows. Whatever the situation may be, the message could give users suitable advice. "Install the chown command to make this work" could be used, provided the chown command in question is free software. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 10:20:15 2020 Received: (at 41570) by debbugs.gnu.org; 6 Sep 2020 14:20:15 +0000 Received: from localhost ([127.0.0.1]:46732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvWg-0007G3-Nh for submit@debbugs.gnu.org; Sun, 06 Sep 2020 10:20:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEvWf-0007Fq-5T for 41570@debbugs.gnu.org; Sun, 06 Sep 2020 10:20:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50611) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEvWZ-0000xV-9m; Sun, 06 Sep 2020 10:20:07 -0400 Received: from [176.228.60.248] (port=2096 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEvWR-00089y-0H; Sun, 06 Sep 2020 10:19:59 -0400 Date: Sun, 06 Sep 2020 17:19:53 +0300 Message-Id: <83r1rfng1i.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org In-Reply-To: (message from Richard Stallman on Sat, 05 Sep 2020 23:54:25 -0400) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> <831rjgraw5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org, stefan@marxist.se, blicher@comcast.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Richard Stallman > Cc: stefan@marxist.se, 41570@debbugs.gnu.org, blicher@comcast.net > Date: Sat, 05 Sep 2020 23:54:25 -0400 > > > > Changing a file's owner not supported on this OS. Switch to GNU/Linux. > > > But this is not true: if one has a 'chown' command available (and I > > do), it will and should work as intended. > > I was replying to a message which seemed to say there was none, but I > don't claim to know anything about Windows. There are ports of GNU Coreutils floating around. > Whatever the situation may be, the message could give users suitable > advice. "Install the chown command to make this work" could be used, > provided the chown command in question is free software. If the suggestion is to tweak the text of the error message a little on non-Posix platforms, it'd be fine by me. Patches welcome. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 13:31:11 2020 Received: (at 41570) by debbugs.gnu.org; 6 Sep 2020 17:31:11 +0000 Received: from localhost ([127.0.0.1]:47068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyVT-0002kD-3a for submit@debbugs.gnu.org; Sun, 06 Sep 2020 13:31:11 -0400 Received: from resqmta-po-07v.sys.comcast.net ([96.114.154.166]:50580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEyVN-0002aI-Dc for 41570@debbugs.gnu.org; Sun, 06 Sep 2020 13:31:09 -0400 Received: from resomta-po-20v.sys.comcast.net ([96.114.154.244]) by resqmta-po-07v.sys.comcast.net with ESMTP id EyAKkJ22igKFQEyVHkKsJU; Sun, 06 Sep 2020 17:30:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1599413459; bh=YziNS6476Pu/QBm3YG+8Aq9I3e0jn4Rye44CFD+jCa4=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=IbjlzRKkOev3fqjucNCytxDXIvL0U8QzxAU8rDFKjXwJceeEi2uxih5Ecgy2M/CD5 IOkmr4gjxMpAfiTaBh2wnyVKFsV9pEZJiIBUr4ygG0PYRHoLcaML1OCkgCOocTwu+S r6ApnndhE3+cCY40UWO9X2XKLiTpS4CTN6HvztxK3vEAwQ51JJGBSQEk4qJFmGByzk aPVwZkmyGi+q522O0iDCcnuzV7GNStyKoIFXybCn7s3sT/7bRGmvD4rB+n38+rhZWl Hr4DhxPUHPVrSRFOsLKYoDFZa6X5BZwRSHjruxWD9glgmVWkVADOzfSnz18YpTznWo EGmVTvsHJ0OpA== Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-20v.sys.comcast.net with ESMTPSA id EyVFk8cQJZLmDEyVGkTall; Sun, 06 Sep 2020 17:30:59 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduiedrudegjedgudduiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucevohhmtggrshhtqdftvghsihdpqfgfvfdppffquffrtefokffrnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkpffffgggjggtgfesthejredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfeevjeevvdeigeehgeehhefgvdeugffhleeludevffevkeejhfffgfduieetfeegnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgvpdhrtghpthhtoheprhhmshesghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-Xfinity-VMeta: sc=-100.00;st=legit Subject: Re: bug#41570: 26.3; dired chown To: Eli Zaretskii , rms@gnu.org References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> <831rjgraw5.fsf@gnu.org> <83r1rfng1i.fsf@gnu.org> From: "A. Peter Blicher" Message-ID: <9ef9006c-ed60-3a30-1ad7-31f38d5f2d99@comcast.net> Date: Sun, 6 Sep 2020 10:30:55 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <83r1rfng1i.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) I think rms is misunderstanding the issue. RMS: Chown works fine on posix platforms, and I think we all agree it doesn't need any change in emacs for those platforms. The problem is that the functionality of chown does not exist in simple form on Windows, but there is a crippled version, called takeown. It's already the case in emacs that trying to do chown in Dired under Windows yields an error message. The bug related to whether there should be some functionality added to do what the crippled version, takeown, does when one tries to chown in emacs under windows. --peter On 9/6/2020 7:19 AM, Eli Zaretskii wrote: >> From: Richard Stallman >> Cc: stefan@marxist.se, 41570@debbugs.gnu.org, blicher@comcast.net >> Date: Sat, 05 Sep 2020 23:54:25 -0400 >> >> > > Changing a file's owner not supported on this OS. Switch to GNU/Linux. >> >> > But this is not true: if one has a 'chown' command available (and I >> > do), it will and should work as intended. >> >> I was replying to a message which seemed to say there was none, but I >> don't claim to know anything about Windows. > > There are ports of GNU Coreutils floating around. > >> Whatever the situation may be, the message could give users suitable >> advice. "Install the chown command to make this work" could be used, >> provided the chown command in question is free software. > > If the suggestion is to tweak the text of the error message a little > on non-Posix platforms, it'd be fine by me. Patches welcome. > From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 07 22:54:32 2020 Received: (at 41570) by debbugs.gnu.org; 8 Sep 2020 02:54:32 +0000 Received: from localhost ([127.0.0.1]:51485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFTmB-0001wY-Uc for submit@debbugs.gnu.org; Mon, 07 Sep 2020 22:54:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFTmA-0001wM-IC for 41570@debbugs.gnu.org; Mon, 07 Sep 2020 22:54:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59238) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFTm4-0006yh-VG; Mon, 07 Sep 2020 22:54:24 -0400 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kFTm3-0001cx-If; Mon, 07 Sep 2020 22:54:23 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: "A. Peter Blicher" In-Reply-To: <9ef9006c-ed60-3a30-1ad7-31f38d5f2d99@comcast.net> (blicher@comcast.net) Subject: Re: bug#41570: 26.3; dired chown References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> <831rjgraw5.fsf@gnu.org> <83r1rfng1i.fsf@gnu.org> <9ef9006c-ed60-3a30-1ad7-31f38d5f2d99@comcast.net> Message-Id: Date: Mon, 07 Sep 2020 22:54:23 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org, eliz@gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > It's already the case in emacs > that trying to do chown in Dired under Windows yields an error message. My suggestion is to adjust the error message so that it clearly explains the situation. Many programs sometimes report an error with an error message that doesn't tell the user what is wrong. It is worth some effort to make our error messages explain clearly to users what the problem is and what caused it. That way, they can tell what to do. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 08 12:44:29 2020 Received: (at 41570) by debbugs.gnu.org; 8 Sep 2020 16:44:29 +0000 Received: from localhost ([127.0.0.1]:56223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFgjN-0001V7-AH for submit@debbugs.gnu.org; Tue, 08 Sep 2020 12:44:29 -0400 Received: from resqmta-po-05v.sys.comcast.net ([96.114.154.164]:44550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFgjI-0001Up-6N for 41570@debbugs.gnu.org; Tue, 08 Sep 2020 12:44:28 -0400 Received: from resomta-po-20v.sys.comcast.net ([96.114.154.244]) by resqmta-po-05v.sys.comcast.net with ESMTP id Fch8kzVFJIxakFgjCkiSEY; Tue, 08 Sep 2020 16:44:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1599583458; bh=jLjy4yJY1olOQEIiaHB+Cxea12rESkgnl961x1UtSGI=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=utw4lPXuPn8IfDxJIIW7rsgta2JmQ4Mwcx74tvHFgYZ6wvUVu7lig9OctsQoILsHN 6EeDx9bkQPGRWJnjowmt//osBH0qO6wel9XF5JLTDV9aY128Po3UZHYsAfH0B66uPh bLkzP3hYFm5fOsIs5xi3Fj/U7Sfa9f6bopvsECrQu3g+Ab1Uwvom1JqTZ8Y7M7BvHa NqgYZckmx7INbuZhgFJVPfheU7L/ozCA9A6WsPwFFRf5Y/kWcDC90t0B+NDU9X+rIM BWhy6GFu39XV6L9Ig8vUquBbaqln2yj96VQty+wupOyTWaXrd6Q39wZUdrMGqolf2q O+wvyjg6MK2Kw== Received: from [192.168.1.112] ([98.248.13.67]) by resomta-po-20v.sys.comcast.net with ESMTPSA id FgivkI5ixZLmDFgiwkXNKd; Tue, 08 Sep 2020 16:44:03 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduiedrudehfedgkeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkpffffgggjggtgfesthejredttdefjeenucfhrhhomhepfdetrdcurfgvthgvrhcuuehlihgthhgvrhdfuceosghlihgthhgvrhestghomhgtrghsthdrnhgvtheqnecuggftrfgrthhtvghrnhepfeevjeevvdeigeehgeehhefgvdeugffhleeludevffevkeejhfffgfduieetfeegnecukfhppeelkedrvdegkedrudefrdeijeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduvdgnpdhinhgvthepleekrddvgeekrddufedrieejpdhmrghilhhfrhhomhepsghlihgthhgvrhestghomhgtrghsthdrnhgvthdprhgtphhtthhopegslhhitghhvghrsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepgeduheejtdesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgvpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtoheprhhmshesghhnuhdrohhrgh X-Xfinity-VMeta: sc=0.00;st=legit Subject: Re: bug#41570: 26.3; dired chown To: rms@gnu.org References: <83ftbksgmn.fsf@gnu.org> <837dtauiyg.fsf@gnu.org> <831rjgraw5.fsf@gnu.org> <83r1rfng1i.fsf@gnu.org> <9ef9006c-ed60-3a30-1ad7-31f38d5f2d99@comcast.net> From: "A. Peter Blicher" Message-ID: <6153cdf9-b69b-cb2a-4eec-834d064bf992@comcast.net> Date: Tue, 8 Sep 2020 09:43:58 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41570 Cc: 41570@debbugs.gnu.org, eliz@gnu.org, stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Well, I'd agree with that. Right now the message I get is "chown not supported on this system" The ambiguity is (a) sorry, we haven't gotten around to implementing that yet, vs (b) Your OS version doesn't provide the functionality to do it. It wouldn't probably hurt to say "Try the Windows command line command 'takeown.' --peter On 9/7/2020 7:54 PM, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > It's already the case in emacs > > that trying to do chown in Dired under Windows yields an error message. > > My suggestion is to adjust the error message so that it clearly explains > the situation. > > Many programs sometimes report an error with an error message > that doesn't tell the user what is wrong. It is worth some effort > to make our error messages explain clearly to users what the problem is > and what caused it. That way, they can tell what to do. > From unknown Sat Jun 14 18:59:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Oct 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator