[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired-do-touch
From: |
Matthew Mundell |
Subject: |
Re: dired-do-touch |
Date: |
30 Mar 2004 17:18:26 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Juri Linkov <address@hidden> writes:
> Eli Zaretskii <address@hidden> writes:
> >> There's the set-file-modes primitive for changing modes. Are there
> >> equivalent primitives for changing owner and group?
> >
> > I don't think so. FWIW, I think we should add them.
>
> I completely agree that we should add primitives for changing
> owner and group and use them in dired.
With some modification the coreutils change_file_owner and
change_dir_owner functions (in src/chown-core.c) could be the core of
such a primitive. Is this a good idea, perhaps with an interface as
below?
DEFUN ("set-file-owners", Fset_file_owners, Sset_file_owners, 2, 3, 0,
doc: /* Set OWNER and/or or GROUP of file FILENAME.
If OWNER or GROUP is nil then skip setting that attribute.
Return t on success, else nil. */)
(filename, owner, group)
Lisp_Object filename, owner, group;
{
...
- Re: dired-do-touch, (continued)
- Re: dired-do-touch, Juri Linkov, 2004/03/29
- Re: dired-do-touch, Andreas Schwab, 2004/03/29
- Re: dired-do-touch, Eli Zaretskii, 2004/03/30
- Re: dired-do-touch, Juri Linkov, 2004/03/30
- Re: dired-do-touch, Matthew Mundell, 2004/03/30
- Re: dired-do-touch, Stefan Monnier, 2004/03/30
- Re: dired-do-touch, Juri Linkov, 2004/03/30
- Re: dired-do-touch, Matthew Mundell, 2004/03/31
- Re: dired-do-touch, Richard Stallman, 2004/03/31
- Re: dired-do-touch, Stefan Monnier, 2004/03/31
- Re: dired-do-touch,
Matthew Mundell <=
- Re: dired-do-touch, Juri Linkov, 2004/03/29
- Re: dired-do-touch, Matthew Mundell, 2004/03/27
- Re: dired-do-touch, Richard Stallman, 2004/03/27
Re: dired-do-touch, Lars Hansen, 2004/03/21
- Re: dired-do-touch, Matthew Mundell, 2004/03/22
- Re: dired-do-touch, Eli Zaretskii, 2004/03/23
- Re: dired-do-touch, Matthew Mundell, 2004/03/23
- Re: dired-do-touch, Eli Zaretskii, 2004/03/24
- Re: dired-do-touch, Kim F. Storm, 2004/03/24
- Re: dired-do-touch, Eli Zaretskii, 2004/03/24