ObjectiveFS Linux File Attributes Support
ObjectiveFS supports file attributes for Linux in version 6.5 and newer. For the corresponding flags support on macOS, see this doc.
Linux File Attributes
ObjectiveFS supports the immutable, append-only and nodump file attributes on Linux.
Usage
To use ObjectiveFS with file attributes, just mount your filesystem as usual on your linux server and run the corresponding chattr and lsattr commands.
Examples
Use chattr to change a file's attributes and lsattr to list a file's attributes.
Add append-only to file /ofs/logfile
# chattr +a /ofs/logfile
List the attributes of file /ofs/logfile
# lsattr /ofs/logfile
-----a------------ /ofs/logfile
Remove append-only from file /ofs/logfile
# chattr -a /ofs/logfile
Add nodump to file /ofs/tmpfile
# chattr +d /ofs/tmpfile
Add immutable to file /ofs/mykey
# chattr +i /ofs/mykey
Related Articles
Last updated ObjectiveFS staff
ObjectiveFS is a shared file system for Linux and macOS that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at support@objectivefs.com