Deleted Added
full compact
chmod.1 (22988) chmod.1 (31144)
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

--- 19 unchanged lines hidden (view full) ---

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
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

--- 19 unchanged lines hidden (view full) ---

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
36.\" $Id$
36.\" $Id: chmod.1,v 1.7 1997/02/22 14:01:29 peter Exp $
37.\"
38.Dd March 31, 1994
39.Dt CHMOD 1
40.Os
41.Sh NAME
42.Nm chmod
43.Nd change file modes
44.Sh SYNOPSIS

--- 60 unchanged lines hidden (view full) ---

105Modes may be absolute or symbolic.
106An absolute mode is an octal number constructed by
107.Ar or-ing
108the following values:
109.Pp
110.Bl -tag -width 6n -compact -offset indent
111.It Li 4000
112set-user-ID-on-execution
37.\"
38.Dd March 31, 1994
39.Dt CHMOD 1
40.Os
41.Sh NAME
42.Nm chmod
43.Nd change file modes
44.Sh SYNOPSIS

--- 60 unchanged lines hidden (view full) ---

105Modes may be absolute or symbolic.
106An absolute mode is an octal number constructed by
107.Ar or-ing
108the following values:
109.Pp
110.Bl -tag -width 6n -compact -offset indent
111.It Li 4000
112set-user-ID-on-execution
113( see
114.Xr chmod 2
115for directories )
113.It Li 2000
114set-group-ID-on-execution
115.It Li 1000
116.It Li 2000
117set-group-ID-on-execution
118.It Li 1000
116sticky bit, see chmod(2)
119sticky bit, see
120.Xr chmod 2
117.It Li 0400
118read by owner
119.It Li 0200
120write by owner
121.It Li 0100
122execute (or search for directories) by owner
123.It Li 0070
124read, write, execute/search by group

--- 178 unchanged lines hidden ---
121.It Li 0400
122read by owner
123.It Li 0200
124write by owner
125.It Li 0100
126execute (or search for directories) by owner
127.It Li 0070
128read, write, execute/search by group

--- 178 unchanged lines hidden ---