ObjectiveFS supports file attributes for Linux in version 6.5 and newer. For the corresponding flags support on macOS, see this doc.
ObjectiveFS supports the immutable
, append-only
and nodump
file attributes on Linux.
To use ObjectiveFS with file attributes, just mount your filesystem as usual on your linux server and run the corresponding chattr
and lsattr
commands.
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
by ObjectiveFS staff, November 26, 2019
ObjectiveFS is a shared file system for Linux and OS X that automatically scales and gives you scalable cloud storage.
If you have questions or article idea suggestions, please email us at support@objectivefs.com