Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chown(1) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chgrp(1)

chmod(1)

passwd(1)

/chfn(1)

/chsh(1)

chown(2)

chmod(2)

chown(1)  —  Commands

OSF

NAME

chown − Changes the owner of files or directories

SYNOPSIS

chown [-fR] user_name | user_ID file ... 

The chown command changes the owner of the specified files or directories to the specified username or user ID. 

FLAGS

-fTurns off error reporting. 

-RDescends recursively through its directory arguments, setting the specified owner.  When symbolic links are encountered, their ownership is changed, but they are not traversed. 

DESCRIPTION

Only a user with superuser authority can use the chown command. 

EXAMPLES

To change the owner of the file program.c, enter:

chown  steffan  program.c

The user access permissions for program.c now apply to steffan.  As the owner, steffan can use the chmod command to permit or deny the other users access to program.c.  See the chmod command for details. 

FILES

/etc/passwdContains usernames and numeric user IDs. 

RELATED INFORMATION

Commands:  chgrp(1), chmod(1), passwd(1)/chfn(1)/chsh(1). 

Functions:  chown(2), chmod(2). 

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