Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chown(1BSD) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chgrp(1)

chmod(1)

chown(2)

passwd(4)






       chown(1BSD)          (BSD System Compatibility)          chown(1BSD)


       NAME
             chown - (BSD) change file owner

       SYNOPSIS
             /usr/ucb/chown [-fhR] owner[.group] file . . .

       DESCRIPTION
             chown changes the owner of the files to owner.  The owner may
             be either a decimal user ID or a login name found in
             /etc/passwd file.  The optional .group suffix may be used to
             change the group at the same time.

             If chown is invoked by other than the super-user, the set-
             user-ID bit of the file mode, 04000, is cleared.

             Only the super-user may change the owner of a file.

             Valid options to chown are:

             -f    Suppress error reporting

             -h    If the file is a symbolic link, change the owner of the
                   symbolic link.  Without this option, the owner of the
                   file referenced by the symbolic link is changed.

             -R    Descend recursively through directories setting the
                   ownership ID of all files in each directory entered.

       FILES
             /etc/group
             /etc/passwd

       REFERENCES
             chgrp(1), chmod(1), chown(2), passwd(4)














                           Copyright 1994 Novell, Inc.               Page 1








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