AI > 'nix > KB > FS > Extended Attributes

· EOG, like EOF


Q @tgpt : How to show what the + in ls means? #

Linux 'ls' showed:
drwxr-x---+ 7 root root 140 Jan 2 13:09 media
for info bout the '+' i did:
getfattr -d media/
which gave nothing.
How to show what the + means here?

A : Extended Attributes, ACL Entries, ... #

  1. Extended Attributes:
1getfattr -d ./media/
2#=>    # No info :(
  1. Access Control List Entries:
 1getfacl ./media/
 2
 3#=> # file: ./media/
 4#=> # owner: root
 5#=> # group: root
 6#=> user::rwx
 7#=> user:mabox:r-x
 8#=> group::r-x
 9#=> mask::r-x
10#=> other::---
  1. 'EXT4' Extended attributes are supported by default
1mount | grep media
2#=> run on /home/mabox/media type tmpfs (rw,...)

Remember, the '+' symbol isn't a standard Linux feature, so it's likely specific to your setup or environment.

last updated: