Further to my question about the "." at the end of the permissions I saw on a file: On Oracle Linux 8.10 (minimal install, anyway) there is no "lsattr" command. Also, the file system is xfs and I think lsattr doesn't work on xfs. At any rate, I was able to install the "attr" command which supports xfs. I got this result: [root@cowsvtora810 ~]# cd /etc/sudoers.d [root@cowsvtora810 sudoers.d]# ls -l total 12 -r--r-----. 1 root root 26 Mar 3 02:56 ansible -r--r-----. 1 root root 25 Mar 3 02:56 packer -r--r----- 1 root root 26 Mar 3 16:54 systems [root@cowsvtora810 sudoers.d]# attr -l ansible Attribute "selinux" has a 31 byte value for ansible [root@cowsvtora810 sudoers.d]# attr -l packer Attribute "selinux" has a 27 byte value for packer [root@cowsvtora810 sudoers.d]# attr -l systems [root@cowsvtora810 sudoers.d]# attr -g selinux packer attr_get: No data available Could not get "selinux" for packer [root@cowsvtora810 sudoers.d]# getfattr --name selinux packer packer: selinux: Operation not supported [root@cowsvtora810 sudoers.d]# getfattr --name root.selinux packer packer: root.selinux: Operation not supported That's probably sufficient to answer my question. There are additional attributes and they relate to selinux. I don't need to pursue this any further than that, although if anyone knows what the 31- and 27-byte attribute values might be, I'm curious.
The following forum post might be helpful... https://unix.stackexchange.com/questions/102624/what-does-a-dot-after-the-fi... It does suggest using "ls -Z" to see the SELinux context information. Oh yeah, and it reminded me that the man page for "ls" is actually rather poor and limited (as is the case with many GNU utilities), and that you need to use the "info" command for more in-depth help. Gilbert On 2026-03-05 11:53 a.m., Kevin McGregor wrote:
Further to my question about the "." at the end of the permissions I saw on a file: On Oracle Linux 8.10 (minimal install, anyway) there is no "lsattr" command. Also, the file system is xfs and I think lsattr doesn't work on xfs.
At any rate, I was able to install the "attr" command which supports xfs. I got this result: [root@cowsvtora810 ~]# cd /etc/sudoers.d [root@cowsvtora810 sudoers.d]# ls -l total 12 -r--r-----. 1 root root 26 Mar 3 02:56 ansible -r--r-----. 1 root root 25 Mar 3 02:56 packer -r--r----- 1 root root 26 Mar 3 16:54 systems [root@cowsvtora810 sudoers.d]# attr -l ansible Attribute "selinux" has a 31 byte value for ansible [root@cowsvtora810 sudoers.d]# attr -l packer Attribute "selinux" has a 27 byte value for packer [root@cowsvtora810 sudoers.d]# attr -l systems [root@cowsvtora810 sudoers.d]# attr -g selinux packer attr_get: No data available Could not get "selinux" for packer [root@cowsvtora810 sudoers.d]# getfattr --name selinux packer packer: selinux: Operation not supported [root@cowsvtora810 sudoers.d]# getfattr --name root.selinux packer packer: root.selinux: Operation not supported
That's probably sufficient to answer my question. There are additional attributes and they relate to selinux. I don't need to pursue this any further than that, although if anyone knows what the 31- and 27-byte attribute values might be, I'm curious.
-- Gilbert Detillieux E-mail: Gilbert.Detillieux@umanitoba.ca Computer Science Web: http://www.cs.umanitoba.ca/~gedetil/ University of Manitoba Phone: 204-474-8161 Winnipeg MB CANADA R3T 2N2 For best CS dept. service, contact <cs-support@lists.umanitoba.ca>.
participants (2)
-
Gilbert Detillieux -
Kevin McGregor