[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] POSIX ACL support
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] POSIX ACL support |
Date: |
Mon, 19 Nov 2012 13:11:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>> The following patch adds support for preserving POSIX ACL entries of
>> files, which at the moment are lost when Emacs saves a buffer (unless
>> `backup-by-copying' is set).
> Thanks for writing this. It is definitely needed IMO.
>> -(defun backup-buffer-copy (from-name to-name modes context)
>> +(defun backup-buffer-copy (from-name to-name modes context acl)
> [and several other such]
> This is really a general comment, not an issue with your patch in
> particular, so don't let it distract. I just wonder if it is possible to
> find a different way to pass this information around, so that we don't
> need to have an ever increasing list of function arguments and return
> values (preserve-this, preserve-that, preserve-the-other, etc...).
> I don't have a good suggestion for how to do that.
> (I have a vague memory this was mentioned when SELinux was added.)
Yes, that's a problem. We should consolidate `modes', `context', and
`acl' into a `metadata' argument.
Stefan
- [PATCH] POSIX ACL support, Romain Francoise, 2012/11/18
- Re: [PATCH] POSIX ACL support, Eli Zaretskii, 2012/11/18
- Re: [PATCH] POSIX ACL support, Glenn Morris, 2012/11/19
- Re: [PATCH] POSIX ACL support, Eli Zaretskii, 2012/11/19
- Re: [PATCH] POSIX ACL support,
Stefan Monnier <=
- Re: [PATCH] POSIX ACL support, Romain Francoise, 2012/11/19
- Re: [PATCH] POSIX ACL support, Stefan Monnier, 2012/11/20
- Re: [PATCH] POSIX ACL support, Romain Francoise, 2012/11/21
- Re: [PATCH] POSIX ACL support, Stefan Monnier, 2012/11/21
- Re: [PATCH] POSIX ACL support, Paul Eggert, 2012/11/21
- Re: [PATCH] POSIX ACL support, Romain Francoise, 2012/11/21
- Re: [PATCH] POSIX ACL support, Eli Zaretskii, 2012/11/21
- Re: [PATCH] POSIX ACL support, Paul Eggert, 2012/11/21
- Re: [PATCH] POSIX ACL support, Achim Gratz, 2012/11/21
- Re: [PATCH] POSIX ACL support, Eli Zaretskii, 2012/11/21