Query: setextattr
OS: freebsd
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RMEXTATTR(8) BSD System Manager's Manual RMEXTATTR(8)NAMEgetextattr, lsextattr, rmextattr, setextattr -- manipulate extended attributesSYNOPSISgetextattr [-fhqsx] attrnamespace attrname filename ... lsextattr [-fhq] attrnamespace filename ... rmextattr [-fhq] attrnamespace attrname filename ... setextattr [-fhnq] attrnamespace attrname attrvalue filename ...DESCRIPTIONThese 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.EXAMPLESsetextattr 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/kernelSEE ALSOextattr(2), extattr(3), extattrctl(8), extattr(9)HISTORYExtended attribute support was developed as part of the TrustedBSD Project, and introduced in FreeBSD 5.0. It was developed to support secu- rity extensions requiring additional labels to be associated with each file or directory.AUTHORSRobert N M Watson Poul-Henning KampBUGSThe setextattr utility can only be used to set attributes to strings.BSDAugust 30, 2000 BSD
Related Man Pages |
---|
extattr(2) - debian |
extattr_delete_fd(2) - debian |
extattr(3) - freebsd |
extattr_namespace_to_string(3) - freebsd |
getextattr(8) - freebsd |
Similar Topics in the Unix Linux Community |
---|
A simple UNIXtime component in Vue.js |
Reason for no directory creation date |
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD? |
Controlling user input |