*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> setextattr (8)              
Title
Content
Arch
Section
 

RMEXTATTR(8)

Contents


NAME    [Toc]    [Back]

     getextattr, lsextattr, rmextattr, setextattr -- manipulate extended
     attributes

SYNOPSIS    [Toc]    [Back]

     getextattr [-fhqsx] attrnamespace attrname filename ...
     lsextattr [-fhq] attrnamespace filename ...
     rmextattr [-fhq] attrnamespace attrname filename ...
     setextattr [-fhnq] attrnamespace attrname attrvalue filename ...

DESCRIPTION    [Toc]    [Back]

     These utilities are user tools to manipulate the named extended
     attributes on files and directories.  The attrnamespace argument should
     be the namespace of the attribute to retrieve: legal values are user and
     system.  The attrname argument should be the name of the attribute,
     filename the name of the target file or directory, attrvalue a string to
     store in the attribute.

     The following options are available:

     -f      (Force.)  Ignore errors on individual filenames and continue with
	     the remaining arguments.

     -h      (No follow.)  If the file is a symbolic link, perform the operation
 on the link itself rather than the file that the link points
	     to.

     -n      (NUL-terminate.)  NUL-terminate the extent content written out.

     -q      (Quiet.)  Do not print out the pathname and suppress error messages.


     -s      (Stringify.)  Escape nonprinting characters and put quotes around
	     the output.

     -x      (Hex.)  Print the output in hexadecimal.

EXAMPLES    [Toc]    [Back]

     setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel
     getextattr system md5 /boot/kernel/kernel
     lsextattr system /boot/kernel/kernel
     rmextattr system md5 /boot/kernel/kernel

SEE ALSO    [Toc]    [Back]

      
      
     extattr(2), extattr(3), extattrctl(8), extattr(9)

HISTORY    [Toc]    [Back]

     Extended attribute support was developed as part of the TrustedBSD
     Project, and introduced in FreeBSD 5.0.  It was developed to support
     security extensions requiring additional labels to be associated with
     each file or directory.

AUTHORS    [Toc]    [Back]

     Robert N M Watson
     Poul-Henning Kamp

BUGS    [Toc]    [Back]

     The setextattr utility can only be used to set attributes to strings.


FreeBSD 5.2.1			August 30, 2000 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
extattr FreeBSD system calls to manipulate VFS extended attributes
extattr_delete_fd OpenBSD system calls to manipulate VFS extended attributes
extattr OpenBSD system calls to manipulate VFS extended attributes
extattr_get_file FreeBSD system calls to manipulate VFS extended attributes
attr IRIX manipulate Extended Attributes on filesystem objects
extattr_set_file FreeBSD system calls to manipulate VFS extended attributes
extattr_delete_file FreeBSD system calls to manipulate VFS extended attributes
extattr_get_fd FreeBSD system calls to manipulate VFS extended attributes
extattr_set_fd FreeBSD system calls to manipulate VFS extended attributes
extattr_delete_fd FreeBSD system calls to manipulate VFS extended attributes
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service