[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] POSIX ACL support
From: |
Romain Francoise |
Subject: |
Re: [PATCH] POSIX ACL support |
Date: |
Wed, 21 Nov 2012 17:01:12 +0100 |
Hi Paul,
Paul Eggert <address@hidden> writes:
> I suggest something that's even simpler at the C level:
> an API that simply clones attributes from one file to
> another. The two files can be represented by file names
> and file descriptors. There's no need to build a runtime
> representation in C or Lisp of the metadata. Just copy
> the metadata directly, from one file to the other.
That's indeed much simpler, but makes it impossible to preserve
attributes for files that have special handlers. For example, Tramp
currently preserves the SELinux context for remote SSH files by getting it
from the local file via the C API and reapplying it remotely using the
`chcon' utility. See `tramp-sh-handle-set-file-selinux-context' in
tramp-sh.el.
Whether or not that is a desirable feature to have is a matter of taste,
I suppose...
- Re: [PATCH] POSIX ACL support, (continued)
- 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, 2012/11/19
- 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 <=
- 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
- Re: [PATCH] POSIX ACL support, Achim Gratz, 2012/11/21
- Re: [PATCH] POSIX ACL support, Paul Eggert, 2012/11/19
- Re: [PATCH] POSIX ACL support, Stefan Monnier, 2012/11/20