[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A file is not merely its contents, a name, and a file type (see section 12. 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.
13.2 chgrp
: Change group ownershipChange file groups. 13.3 chmod
: Change access permissionsChange access permissions. 13.1 chown
: Change file owner and groupChange file owners and groups. 13.4 touch
: Change file timestampsChange file timestamps.