[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] POSIX ACL support
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] POSIX ACL support |
Date: |
Wed, 21 Nov 2012 20:17:30 +0200 |
> Date: Wed, 21 Nov 2012 07:36:09 -0800
> From: Paul Eggert <address@hidden>
> Cc: address@hidden
>
> On 11/21/2012 06:25 AM, Stefan Monnier wrote:
> > I'd start with whichever is easiest.
>
> 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.
But that could be impossible in some cases, no? Can a user on a Posix
host always copy the ACLs, no matter what access right these ACLs
specify?
And in addition, this could be inconvenient or even dangerous: you
could set access rights on a file you created that give you no access
at all, not even read access. IOW, something like umask filtering
might be necessary to avoid shooting yourself in the foot. Right?
- 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, 2012/11/21
- Re: [PATCH] POSIX ACL support,
Eli Zaretskii <=
- 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