Lines Matching +full:on +full:- +full:the +full:- +full:go
1 .\"-
3 .\" The Regents of the University of California. All rights reserved.
6 .\" the Institute of Electrical and Electronics Engineers, Inc.
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. Neither the name of the University nor the names of its contributors
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47 utility modifies the file mode bits of the listed files
48 as specified by the
53 .Bl -tag -width indent
57 could not modify the mode for
59 nor modify the exit status to reflect such failures.
61 If the
63 option is specified, symbolic links on the command line are followed
64 and hence unaffected by the command.
67 If the file is a symbolic link, change the mode of the link itself
68 rather than the file that the link points to.
70 If the
74 If the
77 This is the default.
79 Change the modes of the file hierarchies rooted in the files,
80 instead of just the files themselves.
81 Beware of unintentionally matching the
83 hard link to the parent directory when using wildcards like
88 to be verbose, showing filenames as the mode is modified.
89 If the
91 flag is specified more than once, the old and new modes of the file
100 options are ignored unless the
103 In addition, these options override each other and the
104 command's actions are determined by the last one specified.
110 signal (see the
114 then the current filename as well as the old and new modes are displayed.
116 Only the owner of a file or the super-user is permitted to change
119 .Ex -std
122 An absolute mode is an octal number constructed from the sum of
123 one or more of the following values:
125 .Bl -tag -width 6n -compact -offset indent
129 will run with effective uid set to the uid of the file owner.
131 sub-directories created in them to be owned by the directory owner
132 and not by the uid of the creating process, if the underlying file
135 and the
142 will run with effective gid set to the gid of the file owner.
155 For directories, allow the owner to
156 search in the directory.
164 group members to search in the directory.
172 search in the directory.
175 For example, the absolute mode that permits read, write and execute by
177 others, and no set-uid or set-gid behaviour is 755
180 The symbolic mode is described by the following grammar:
181 .Bd -literal -offset indent
186 op ::= + | \- | =
192 symbols ``u'', ``g'', and ``o'' specify the user, group, and other parts
193 of the mode bits, respectively.
200 symbols represent the portions of the mode bits as follows:
202 .Bl -tag -width Ds -compact -offset indent
206 The set-user-ID-on-execution and set-group-ID-on-execution bits.
214 The execute/search bits if the file is a directory or any of the
215 execute/search bits are set in the original (unmodified) mode.
216 Operations with the
218 symbol ``X'' are only meaningful in conjunction with the
222 The user permission bits in the original mode of the file.
224 The group permission bits in the original mode of the file.
226 The other permission bits in the original mode of the file.
231 symbols represent the operation performed, as follows:
232 .Bl -tag -width 4n
241 for which the corresponding bit in the file mode creation mask
245 Otherwise, the mode bits represented by the specified
250 .It \&\-
253 the ``\-'' operation has no effect.
258 for which the corresponding bit in the file mode creation mask
260 Otherwise, the mode bits represented by the specified
266 The mode bits specified by the
270 value is specified, the owner, group
276 for which the corresponding bit in the file mode creation mask
278 Otherwise, the mode bits represented by the specified
287 specifies one or more operations to be performed on the mode
288 bits, and each operation is applied to the mode bits in the
291 Operations upon the other permissions only (specified by the symbol
292 ``o'' by itself), in combination with the
296 The ``w'' permission on directories will permit file creation, relocation,
298 Files created within the directory itself will inherit its group ID.
300 .Bl -tag -width "u=rwx,go=u-w" -compact
302 make a file readable by anyone and writable by the owner only.
304 .It Li go-w
308 set the read and write permissions to the usual defaults, but
316 .It Li u=rwx,go=rx
317 .It Li u=rwx,go=u-w
318 make a file readable/executable by everyone and writable by the owner only.
320 .It Li go=
323 .It Li g=u-w
324 set the group bits equal to the user bits, but clear the group write bit.
329 option is non-standard and its use in scripts is not recommended.
347 .St -p1003.2
348 compatible with the exception of the
361 option for the naughty bits of a horse.