removexattr, lremovexattr, fremovexattr - remove an extended attribute


   #include <sys/types.h>
   #include <attr/xattr.h>

   int removexattr (const char *path, const char *name);
   int lremovexattr (const char *path, const char *name);
   int fremovexattr (int filedes, const char *name);


   Extended attributes are name:value pairs associated with inodes (files,
   directories,  symlinks,  etc).   They  are  extensions  to  the  normal
   attributes which are associated with all inodes in the system (i.e. the
   stat(2) data).  A complete overview of extended attributes concepts can
   be found in attr(5).

   removexattr  removes  the  extended  attribute  identified  by name and
   associated with the given path in the filesystem.

   lremovexattr is identical to removexattr,  except  in  the  case  of  a
   symbolic  link,  where  the extended attribute is removed from the link
   itself, not the file that it refers to.

   fremovexattr is identical to removexattr, only the  extended  attribute
   is  removed  from  the  open file pointed to by filedes (as returned by
   open(2)) in place of path.

   An extended attribute name is a  simple  NULL-terminated  string.   The
   name  includes  a  namespace  prefix  -  there may be several, disjoint
   namespaces associated with an individual inode.


   On success, zero is returned.  On failure, -1 is returned and errno  is
   set appropriately.

   If the named attribute does not exist, errno is set to ENOATTR.

   If  extended  attributes  are  not  supported by the filesystem, or are
   disabled, errno is set to ENOTSUP.

   The errors documented for the stat(2) system call are  also  applicable


   Andreas   Gruenbacher,  <>  and  the  SGI  XFS
   development team, <>.  Please send any bug reports
   or comments to these addresses.


   getfattr(1),  setfattr(1),  open(2), stat(2), setxattr(2), getxattr(2),
   listxattr(2), and attr(5).

More Linux Commands

dbmmanage2(1) - Manage user authentication files in DBM form
dbmmanage is used to create and update the DBM format files used to store usernames and password for basic authentication of HTTP users via mod_authn_dbm. Resou

XpSetImageResolution(3x) - Sets the resolution for subsequen
XpSetImageResolution returns True if the printer server allowed the resolution to be set, otherwise False is returned. XpSetImageResolution sets the resolution

ktupnptest(1) - KTorrent's UPnP test application (Man Page)
KTorrents UPnP test application Generic options: --help Show help about options --help-qt Show Qt specific options --help-kde Show KDE specific options --help-a

ldappasswd(1) - change the password of an LDAP entry........
ldappasswd is a tool to set the password of an LDAP user. ldappasswd uses the LDAPv3 Password Modify (RFC 3062) extended operation. ldappasswd sets the password

standend(3ncurses) - curses character and window attribute c
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo

pgrep(1) - look up or signal processes based on name and oth
pgrep looks through the currently running processes and lists the process IDs which match the selection criteria to stdout. All the criteria have to match. For

repertoiremap(5) map symbolic character names to Unicode cod
A repertoire map defines mappings between symbolic character names and Unicode code points when compiling a locale with localedef(1). Using a repertoire map is

copysignf(3) - copy sign of a number - Linux manual page....
The copysign(), copysignf(), and copysignl() functions return a value whose absolute value matches that of x, but whose sign bit matches that of y. For example,

ldap_dnfree(3) - LDAP DN handling routines - Linux man page
These routines allow LDAP entry names (Distinguished Names, or DNs) to be obtained, parsed, converted to a user-friendly form, and tested. A DN has the form des

zipnote(1) - write the comments in zipfile to stdout, edit c
zipnote writes the comments in a zipfile to stdout. This is the default mode. A second mode allows updating the comments in a zipfile as well as allows changing

dirname(1) - strip last component from file name (Man Page)
Output each NAME with its last non-slash component and trailing slashes removed; if NAME contains no /s, output . (meaning the current directory). -z, --zero en

lber-encode(3) - OpenLDAP LBER simplified Basic Encoding Rul
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is

We can't live, work or learn in freedom unless the software we use is free.