annotate docs/nitros9guide/attr.refentry @ 2406:54182c17afa1

Added BBS and subfolders
author boisy
date Sun, 24 Jan 2010 18:44:57 +0000
parents 4dae346c4969
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
1 <refentry id="attr">
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
2 <refnamediv>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
3 <refname id="attrname">ATTR</refname>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
4 <refpurpose>Change file security attributes</refpurpose>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
5 </refnamediv>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
6
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
7 <refsynopsisdiv>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
8 <cmdsynopsis>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1053
diff changeset
9 <command>attr</command>
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
10 <arg choice="plain">
975
c565a4700689 The entitity replstart was replaced with <replaceable>
roug
parents: 143
diff changeset
11 <replaceable>path</replaceable>
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
12 </arg>
975
c565a4700689 The entitity replstart was replaced with <replaceable>
roug
parents: 143
diff changeset
13 <arg choice="opt">&repeatst; <replaceable>permission abbreviations</replaceable> &repeaten;</arg>
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
14 </cmdsynopsis>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
15 </refsynopsisdiv>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
16
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
17 <refsect1><title>Description</title>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
18 <para>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
19 This command is used to examine or change the security permissions
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 975
diff changeset
20 of a file. To enter the command, type <command>attr</command> followed by the
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
21 pathlist for the file who's security permissions are to be changed,
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
22 followed by a list of permissions which are to be turned on or off.
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
23 A permission is turned on by giving its abbreviation, or turned off
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
24 by preceding its abbreviation with a minus sign. Permissions not
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
25 explicitly named are not affected. If no permissions are given the
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
26 current file attributes will be printed. You can not change the
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
27 attributes of a file which you do not own (except for user zero, who
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
28 can change the attributes of any file in the system).
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
29 </para>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
30 <para>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
31 The file permission abbreviations are:
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
32 </para>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
33 <literallayout>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
34 d = Directory file
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
35 s = Sharable file
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
36 r = Read permit to owner
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
37 w = Write permit to owner
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
38 e = Execute permit to owner
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
39 pr = Read permit to public
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
40 pw = Write permit to public
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
41 pe = Execute permit to public
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
42 </literallayout>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
43
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
44 <para>
1053
b5ff125a1d60 Since this book was only typeset in fixed width, single-font, they used
roug
parents: 975
diff changeset
45 The <command>attr</command> command may be used to change a directory file to a
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
46 non-directory file if all entries have been deleted from it. Since the
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
47 DEL command will only delete non-directory files, this is the only
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
48 way a directory may be deleted. You cannot change a non-directory
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1053
diff changeset
49 file to a directory file with this command (see <command>makdir</command>).
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
50 </para>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
51 <para>
1093
4dae346c4969 Added crossreferences and lowercased synopsises
roug
parents: 1053
diff changeset
52 For more information see: <xref linkend="sec3.8"/>, <xref linkend="sec3.8.1"/>
133
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
53 </para>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
54 </refsect1>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
55 <refsect1><title>Examples</title>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
56 <screen>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
57 attr myfile -pr -pw
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
58
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
59 attr myfile r w e pr rw pe
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
60
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
61
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
62 attr datalog
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
63 -s-wr-wr
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
64 </screen>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
65 </refsect1>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
66 </refentry>
40f5c43c8c03 Split up the commands into individual files.
roug
parents:
diff changeset
67