-
Notifications
You must be signed in to change notification settings - Fork 237
Description
Current UnixFSv1 importers do not encode most of the standard file metadata from most file systems.
This has been a particular challenge for package managers since they already rely on some of this metadata.
The goal of this issue is to surface all the necessary discussion points in order to drive a new PR against the unixfs spec.
Potential metadata
- Permissions
- Executable bit
- Ownership (user and group)
- Filename in file object
- mtime
- ctime
- atime
Additional considerations
For time stamps (mtime, ctime, atime) we need to decide if we’re going to use high precision times or not. Most systems expect a 32-bit integer (low precision) while other use cases may need a 64-bit integer (high precision).
Do we want to store additional metadata of the directory? How do we handle updating this when someone updates only a single file in the directory?
Where do we store this metadata?
In terms of the data format, should these properties be added to the File message or the Data message?
History
The history of this feature as well as meeting notes where this feature was prioritized are available here.