chflags.1 (d628d776c45a0e11a0a035597d49023942501ecc) | chflags.1 (ab46875a2a89155d66aaa0fff28736f3c6c1b43d) |
---|---|
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 --- 21 unchanged lines hidden (view full) --- 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.\" @(#)chflags.1 8.4 (Berkeley) 5/2/95 36.\" $FreeBSD$ 37.\" | 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 --- 21 unchanged lines hidden (view full) --- 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.\" @(#)chflags.1 8.4 (Berkeley) 5/2/95 36.\" $FreeBSD$ 37.\" |
38.Dd May 2, 1995 | 38.Dd Mar 24, 2003 |
39.Dt CHFLAGS 1 40.Os 41.Sh NAME 42.Nm chflags 43.Nd change file flags 44.Sh SYNOPSIS 45.Nm 46.Oo --- 58 unchanged lines hidden (view full) --- 105.Ar simmutable , uappend , uchange , uimmutable , 106.Ar sunlink , uunlink 107.Xc 108aliases for the above 109.El 110.Pp 111Putting the letters 112.Dq Ar no | 39.Dt CHFLAGS 1 40.Os 41.Sh NAME 42.Nm chflags 43.Nd change file flags 44.Sh SYNOPSIS 45.Nm 46.Oo --- 58 unchanged lines hidden (view full) --- 105.Ar simmutable , uappend , uchange , uimmutable , 106.Ar sunlink , uunlink 107.Xc 108aliases for the above 109.El 110.Pp 111Putting the letters 112.Dq Ar no |
113before an option causes the flag to be turned off. | 113before or removing the letters 114.Dq Ar no 115from a keyword causes the flag to be cleared. |
114For example: | 116For example: |
115.Bl -tag -offset indent -width "nouchg" | 117.Pp 118.Bl -tag -offset indent -width "nouchg" -compact |
116.It Ar nouchg | 119.It Ar nouchg |
117the immutable bit should be cleared | 120clear the user immutable flag (owner or super-user only) 121.It Ar dump 122clear the nodump flag (owner or super-user only) |
118.El 119.Pp 120Symbolic links do not have flags, so unless the 121.Fl H 122or 123.Fl L 124option is set, 125.Nm --- 26 unchanged lines hidden --- | 123.El 124.Pp 125Symbolic links do not have flags, so unless the 126.Fl H 127or 128.Fl L 129option is set, 130.Nm --- 26 unchanged lines hidden --- |