Hi,

jeremy ardley wrote:
> > > I have vague memories there are more file flags in newer Linux file 
> > > systems?

Dan Ritter wrote:
> > There are extended attributes, [...]
> > lsattr and chattr are the relevant commands.

Nicolas George wrote:
> What you describe are file attributes specific to the ext2/3/4
> filesystems. They are not called “extended attributes” because extended
> attributes are something else.

Indeed. The command to inquire extended attributes is getfattr(1).
General info is at attr(5).


> crw-rw----+  1 root video    81,     3 Jan 25 08:33 video3
> The + at the end of the permissions means there are ACLs on these
> devices, allowing the console user to access them. ACLs are implemented
> using extended attributes.

getfacl(1) shows ACL (and POSIX permissions). See also acl(5).

(Then there is getcap(8) which shows what is described in capabilities(7).
Linux file capabilities are curbs for the superuser. I am not aware that
they would restrict access or execution of particular files.)


Have a nice day :)

Thomas

Reply via email to