acl-devel
[Top][All Lists]
Advanced

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

setfacl


From: spaceman
Subject: setfacl
Date: Fri, 17 Feb 2023 17:56:38 +0000

Hi,

Not sure if this is the right place or not but here goes.

I have a file:

  File: /bin/su
  Size: 45608           Blocks: 96         IO Block: 4096   regular file
Device: 253,0   Inode: 12320934    Links: 1
Access: (4111/---s--x--x)  Uid: (    0/    root)   Gid: (    0/    root)

I have a acl entry (a):

# file: /bin/su
# owner: root
# group: root
user::---
group::---
other::---

I run:

$ setfacl --restore=a

I get:

  File: /bin/su
  Size: 45608           Blocks: 96         IO Block: 4096   regular file
Device: 253,0   Inode: 12320934    Links: 1
Access: (0111/---x--x--x)  Uid: (    0/    root)   Gid: (    0/    root)

I was expecting:

  File: /bin/su
  Size: 45608           Blocks: 96         IO Block: 4096   regular file
Device: 253,0   Inode: 12320934    Links: 1
Access: (0000/----------)  Uid: (    0/    root)   Gid: (    0/    root)

I can run setfacl again and get the expected result.

This is on Slackware 15 with acl 2.3.1. I cannot tell you if it is 
repeatable on other systems.

Regards,
spaceman



reply via email to

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