Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chown(1) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

chown(2)

group(4)

passwd(4)



CHOWN(1)                 DOMAIN/IX SYS5                  CHOWN(1)



NAME
     chown, chgrp - change owner or group

USAGE
     chown owner file ...

     chgrp group file ...

DESCRIPTION
     Chown changes ownership of a file to a specified individual
     owner.  The owner argument may be either a decimal user ID
     or a log-in name found in the password file.

     Chgrp changes the group ID for the file to a specified
     group.  The group argument may be either a decimal group ID
     or a group name found in the group file.

EXAMPLES
     To change ownership of file1 from the current individual
     owner to ownership by someone with the log-in name of mary,
     use this command:

          # chown mary file1

     To change the group identification of file2 to a group ID of
     7, type the following:

          # chgrp 7 file2

CAUTIONS
     Unless you are the super-user, invoking chown clears the
     set-user-ID bit (04000) and set-group-ID bit (02000) of the
     file mode.

     The DOMAIN file system requires that files that are pro-
     tected for write-only or execute-only by chown(1) also be
     made available for read access.

FILES
     /etc/passwd
     /etc/group

RELATED INFORMATION
     chmod(1), chown(2), group(4), passwd(4).









Printed 12/4/86                                           CHOWN-1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026