[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A file is not merely its contents, a name, and a file type (see section 7. Special file types). A file also has an owner (a userid), a group (a group id), permissions (what the owner can do with the file, what people in the group can do, and what everyone else can do), various timestamps, and other information. Collectively, we call these a file's attributes.
These commands change file attributes.
8.1 chown
: Change file owner and groupChange file owners and groups. 8.2 chgrp
: Change group ownershipChange file groups. 8.3 chmod
: Change access permissionsChange access permissions. 8.4 touch
: Change file timestampsChange file timestamps.