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

  man pages->IRIX man pages -> attrinit (1)              
Title
Content
Arch
Section
 

l(1)

Contents


ATTRINIT(1M)							  ATTRINIT(1M)


NAME    [Toc]    [Back]

     attrinit -	Set file attributes

SYNOPSIS    [Toc]    [Back]

     attrinit [-option[=value]]... [-attr=value]... [path]...

DESCRIPTION    [Toc]    [Back]

     attrinit verifies or modifies the attributes associated with files.

OPTIONS    [Toc]    [Back]

     -verify
	  If value is installed	don't set the attributes, just report any
	  differences between the attributes specified and those which are set
	  for each of the specified paths.  Ignore paths which do not exist.
	  A value of all differs only in that paths which do not exist are
	  reported.  If	value is also the attributes are set after they	are
	  checked.

	  If this option is not	specified the attributes are set.

     -script
	  A script file	named by value is read for additional directives.
	  Each line of the script file must have the form

	       -attr=value... path

	  where	valid attr and values are described below.  Any	attr values
	  which	are specified on the command line override those in the
	  script.

     -verbose
	  Keep a running count of the fraction of the operation	which has
	  completed.

VERIFIABLE ATTRIBUTES    [Toc]    [Back]

     These attributes may always be specified, but are only used for
     verification.  They are never changed by attrinit.

     -mode
	  value	specifies the file permission bits to look for.

     -user
	  value	specifies the user name	or numeric user	id of the file's
	  owner.

     -group
	  value	specifies the group name or numeric group id of	the file's
	  owning group.

     -type
	  Permitted values are directory (also d) tree (also t)	moldytree
	  (also	m) file	(also f) symlink (also l or link) fifo (also p or



									Page 1






ATTRINIT(1M)							  ATTRINIT(1M)



	  pipe)	chardev	(also c	or char) blockdev (also	b , blk	or block) and
	  socket (also s)

     A special case is the value tree.	If this	is used	the attribute and
     value specified are applied to the	tree rooted at path.

MODIFIABLE ATTRIBUTES    [Toc]    [Back]

     These attributes may be specified for modification	or verification.

     -mac Set the mandatory access control ( MAC ) label to the	specified
	  value.

     -cap Set the capabilities of the file to those listed in value.

     -acl Set the access control list of the file to the specified value.

     -acldefault
	  Set the default access control list of a directory to	the specified
	  value.

NOTES    [Toc]    [Back]

     In	most cases, chacl(1), chcap(1),	or chlabel(1) should be	used in
     preference	to attrinit.

SEE ALSO    [Toc]    [Back]

      
      
     chac
     IRIX Advanced Site	and Server Administration Guide.


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
libAF Tru64 Provide Attribute File Library functions to manipulate file attributes
lsattr Linux list file attributes on a Linux second extended file system
chattr Linux change file attributes on a Linux second extended file system
delproplist Tru64 removes Extended File Attributes from a file
fsetproplist Tru64 assigns Extended File Attributes to a file
setproplist Tru64 assigns Extended File Attributes to a file
fdelproplist Tru64 removes Extended File Attributes from a file
fgetproplist Tru64 gets the Extended File Attributes of a file
getproplist Tru64 gets the Extended File Attributes of a file
advfs_set_file_attributes Tru64 Set AdvFS file attributes
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service