all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "A. Peter Blicher" <blicher@comcast.net>
To: Stefan Kangas <stefan@marxist.se>, Eli Zaretskii <eliz@gnu.org>
Cc: 41570@debbugs.gnu.org
Subject: bug#41570: 26.3; dired chown
Date: Thu, 3 Sep 2020 14:38:48 -0700	[thread overview]
Message-ID: <3a58d83b-7362-1f3c-13b6-85244b784645@comcast.net> (raw)
In-Reply-To: <e1f29a3d-5c4e-8cff-bda3-c00786bd5fde@comcast.net>

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 <eliz@gnu.org> writes:
>>
>>>> From: "A. Peter Blicher" <blicher@comcast.net>
>>>> 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
>>
> 
> 






  reply	other threads:[~2020-09-03 21:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 21:46 bug#41570: 26.3; dired chown A. Peter Blicher
2020-05-28  6:44 ` Eli Zaretskii
2020-05-28 15:54   ` A. Peter Blicher
2020-05-28 16:16     ` Eli Zaretskii
2020-05-28 16:26       ` A. Peter Blicher
2020-09-03 20:38   ` Stefan Kangas
2020-09-03 21:36     ` A. Peter Blicher
2020-09-03 21:38       ` A. Peter Blicher [this message]
2020-09-03 22:06       ` Stefan Kangas
2020-09-04  6:58     ` Eli Zaretskii
2020-09-04 11:35       ` Stefan Kangas
2020-09-05  3:17         ` Richard Stallman
2020-09-05  6:32           ` Eli Zaretskii
2020-09-06  3:54             ` Richard Stallman
2020-09-06 14:19               ` Eli Zaretskii
2020-09-06 17:30                 ` A. Peter Blicher
2020-09-08  2:54                   ` Richard Stallman
2020-09-08 16:43                     ` A. Peter Blicher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a58d83b-7362-1f3c-13b6-85244b784645@comcast.net \
    --to=blicher@comcast.net \
    --cc=41570@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.