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

Re: setfattr fallisce




> 
> Il filesystem è montato  come:
> /dev/sda3 on / type ext4 (rw,user_xattr,errors=remount-ro)
> 
> se  prova ad eseguire
> setfattr -n prova.prova -v "pippo"   file_prova
> 
> ottengo:
> setfattr: file_prova: Operation not  supported
> 
> Questo sia come utente normale che come root.
> 

Mi rispondo da solo:
da "man 5 attr":

    Attribute names are zero-terminated strings.  The attribute name is  always  
specified  in  the  fully  qualified  names‐
       pace.attribute form, eg.  user.mime_type, trusted.md5sum, 
system.posix_acl_access, or security.selinux.

       The  namespace  mechanism  is used to define different classes of 
extended attributes.  These different classes exist for
       several reasons, e.g. the permissions and capabilities required for 
manipulating extended attributes of one namespace may
       differ to another.

       Currently  the  security, system, trusted, and user extended attribute 
classes are defined as described below. Additional
       classes may be added in the future


Walter






Reply to: