DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦a41933734⟧ TextFile

    Length: 888 (0x378)
    Types: TextFile
    Notes: UNIX file
    Names: »smog.8«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man8/smog.8« 

TextFile

.ig
	@(#)smog.8	1.1     6/15/85
	@(#)Copyright (C) 1985 by Enea Data Svenska AB
..
.TH SMOG 8
.UC 4
.SH NAME
smog \- set absolute mode owner and group
.SH SYNOPSIS
.B /etc/smog
[
.B -r
] nnnn owner group [ file... ]
.SH DESCRIPTION
.I Smog
combines the functions of
.I chmod
,
.I chown
,
and
.I chgrp
\.
It is mainly meant to be used in a shell script.
Nnnn is an absolute mode (octal digits), owner and
group are names.  Any one of these can be \-, meaning
that the corresponding part is ignored.
.PP
If the first argument is
.B -r,
then
.I smog
is executed recursively on subdirectories,
and the mode (if given) is and'ed with 0777 for directories
and with 0666 for other files.
.SH FILES
/etc/passwd
.br
/etc/group
.SH "SEE ALSO"
chmod(1), chown(8), chgrp(8)
passwd(5), group(5)
.SH DIAGNOSTICS
Complains about nonexisting files
.br
Must be super user to change owner or group of file