posix acl
Richard Sharpe
realrichardsharpe at gmail.com
Sat Feb 13 02:50:24 UTC 2016
On Fri, Feb 12, 2016 at 6:40 PM, Greg Silverman <silvermangb at gmail.com> wrote:
> I create them. I use fuse to create a virtual file system. Those attribute
> only have the meaning I give them. I determine at runtime which privileges a
> user has for any file or folder, independent of permission in the physical
> storage. That is, if I knew the binary format used to represent permissions.
OK, but in the FUSE model you are presented with a GETXATTR or
SETXATTR requests. To interpret them seems more than you are supposed
to do.
Of course, I suppose it depends on the target file system and how do
you handle the case where the admin is using acl_xattr and you are
presented with XATTRs that are encoded Security Descriptors?
> On Fri, Feb 12, 2016 at 6:35 PM Richard Sharpe <realrichardsharpe at gmail.com>
> wrote:
>>
>> On Wed, Feb 10, 2016 at 2:55 PM, Greg Silverman <silvermangb at gmail.com>
>> wrote:
>> >
>> > I am developing with fuse. What are the binary formats for posix acls &
>> > security settings? Where can I find these so I can respond to the xattr
>> > calls correctly?
>>
>> Hmmm, surely, as a file system developer they are opaque blobs.
>>
>> That is, you don't care what the format of those blobs is. You simply
>> store them or retrieve them?
>>
>> Am I missing something here?
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
More information about the samba-technical
mailing list