acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-devel] Few questions regarding the ACL implementation in Linux


From: Jan Engelhardt
Subject: Re: [Acl-devel] Few questions regarding the ACL implementation in Linux side
Date: Mon, 28 Oct 2013 13:09:39 +0100 (CET)
User-agent: Alpine 2.11 (LSU 23 2013-08-11)

On Sunday 2013-10-27 17:25, Guru Padmavathi wrote:
>
>If I understand correctly, with this one can provision read, write
>and execute permissions forĀ a file using setfacl with various
>options. However, I have a question can we apply an ACL on a tcp
>connection, after all everything in Linux is a file.

This is a misconception. Sockets are not files. Files can be opened
using open(2), but that is not true for sockets.

While sockets do have an inode as an implementation detail (so that,
in Linux, file descriptors can be handed out), the sockfs inodes
reject fsetxattr calls -- though they support fgetxattr.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]