chmod.1 (2a4562393f80633b81c11d4f7df00548d1cc3c48) | chmod.1 (5bb83b98dbde8326de7b8221ef899ca38ddb3180) |
---|---|
1.\" Copyright (c) 1989, 1990, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 33 unchanged lines hidden (view full) --- 42.Nm chmod 43.Nd change file modes 44.Sh SYNOPSIS 45.Nm chmod 46.Oo 47.Fl f 48.Fl R 49.Op Fl H | Fl L | Fl P | 1.\" Copyright (c) 1989, 1990, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the Institute of Electrical and Electronics Engineers, Inc. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 33 unchanged lines hidden (view full) --- 42.Nm chmod 43.Nd change file modes 44.Sh SYNOPSIS 45.Nm chmod 46.Oo 47.Fl f 48.Fl R 49.Op Fl H | Fl L | Fl P |
50.Fl v |
|
50.Oc 51.Ar mode 52.Ar file ... 53.Sh DESCRIPTION 54The 55.Nm 56utility modifies the file mode bits of the listed files 57as specified by the --- 17 unchanged lines hidden (view full) --- 75option is specified, no symbolic links are followed. 76.It Fl R 77Change the modes of the file hierarchies rooted in the files 78instead of just the files themselves. 79.It Fl f 80Do not display a diagnostic message if 81.Nm 82could not modify the mode for | 51.Oc 52.Ar mode 53.Ar file ... 54.Sh DESCRIPTION 55The 56.Nm 57utility modifies the file mode bits of the listed files 58as specified by the --- 17 unchanged lines hidden (view full) --- 76option is specified, no symbolic links are followed. 77.It Fl R 78Change the modes of the file hierarchies rooted in the files 79instead of just the files themselves. 80.It Fl f 81Do not display a diagnostic message if 82.Nm 83could not modify the mode for |
84.It Fl v 85Cause 86.Nm 87to be verbose, showing files as the mode is modified. |
|
83.Va file . 84.El 85.Pp 86Symbolic links do not have modes, so unless the 87.Fl H 88or 89.Fl L 90option is set, --- 211 unchanged lines hidden (view full) --- 302.Pp 303.It Li g=u-w 304set the group bits equal to the user bits, but clear the group write bit. 305.El 306.Sh BUGS 307There's no 308.Ar perm 309option for the naughty bits. | 88.Va file . 89.El 90.Pp 91Symbolic links do not have modes, so unless the 92.Fl H 93or 94.Fl L 95option is set, --- 211 unchanged lines hidden (view full) --- 307.Pp 308.It Li g=u-w 309set the group bits equal to the user bits, but clear the group write bit. 310.El 311.Sh BUGS 312There's no 313.Ar perm 314option for the naughty bits. |
315.Sh COMPATIBILITY 316The 317.Fl v 318option is non-standard and its use in scripts is not recommended. |
|
310.Sh SEE ALSO 311.Xr chflags 1 , 312.Xr install 1 , 313.Xr chmod 2 , 314.Xr stat 2 , 315.Xr umask 2 , 316.Xr fts 3 , 317.Xr setmode 3 , --- 21 unchanged lines hidden --- | 319.Sh SEE ALSO 320.Xr chflags 1 , 321.Xr install 1 , 322.Xr chmod 2 , 323.Xr stat 2 , 324.Xr umask 2 , 325.Xr fts 3 , 326.Xr setmode 3 , --- 21 unchanged lines hidden --- |