[C-prog-lang-l] File metadata with tar -x option

Thomas Mol thomasfolkertmol at gmail.com
Sat Jul 11 19:27:54 CEST 2020


Hello,

The phase 2 assignment mentions the following:
- Do not worry about ownership and permissions when extracting files,
just create them with fopen().
Am I correct in interpreting this as meaning we do not need to set
metadata for the file upon extraction, such as UID, GID, and
permissions? Or does it mean we needn't worry about *having* such
permissions when extracting the file, but we still need to set its
bits appropriately?

Regards,
Thomas Folkert Mol


More information about the c-prog-lang-l mailing list