GNU Info

Info Node: (fileutils.info)Changing file attributes

(fileutils.info)Changing file attributes


Next: Disk usage Prev: Special file types Up: Top
Enter node , (file) or (file)node

Changing file attributes
************************

   A file is not merely its contents, a name, and a file type (Note:
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.

chown invocation
Change file owners and groups.
chgrp invocation
Change file groups.
chmod invocation
Change access permissions.
touch invocation
Change file timestamps.

automatically generated by info2www version 1.2.2.9