Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chown(1) — Interactive 3.2r4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

chown(2)

group(4)

passwd(4)

chown(1)  —  

NAME

chown, chgrp − change owner or group

SYNOPSIS

chown owner[.group] file ... 

chown owner[.group] directory ... 

chgrp group file ... 

chgrp group directory ... 

DESCRIPTION

The chown command changes the owner of the files or directories to owner. The owner may be either a decimal user ID or a login name found in the password file.  An optional group may also be specified.  The group may be either a decimal group ID or a group name found in the group file. 

The chgrp command changes the group ID of the files or directories to group. The group may be either a decimal group ID or a group name found in the group file. 

If either command is invoked by other than the super-user, the set-user-ID and set-group-ID bits of the file mode, 04000 and 02000 respectively, will be cleared. 

Only the owner of a file (or the super-user) may change the owner or group of that file. 

FILES

/etc/passwd
/etc/group

NOTES

In a Network File System (NFS) environment, you may not have the permissions that the output of the ls −l command leads you to believe. 

SEE ALSO

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

ADDED VALUE

This entry, supplied by SunSoft, Inc., contains enhancements to UNIX System V. 

\*U  —  Version 1.0

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