|
From: | Guru Padmavathi |
Subject: | Re: [Acl-devel] Few questions regarding the ACL implementation in Linux side |
Date: | Mon, 28 Oct 2013 21:41:45 +0530 |
This is a misconception. Sockets are not files. Files can be opened
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.
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.
[Prev in Thread] | Current Thread | [Next in Thread] |