Permissions - Write once read many

  • It is possible for OMV to share a folder with permissions to 'Write once read many' aka can be written to, but files cannot be deleted or changed once written?
    If not, has anyone set file-system permissions to accomplish this result? how did it go?
    Thanks

    • Offizieller Beitrag

    There are tools like inotifywait that can be used to run a script when some file or folder change.


    You could use that to make any new files read-only as soon as they have been added/created to some folder. Or possibly move the file to some other folder where it is read-only.


    http://man7.org/linux/man-pages/man1/inotifywait.1.html

    Be smart - be lazy. Clone your rootfs.
    OMV 5: 9 x Odroid HC2 + 1 x Odroid HC1 + 1 x Raspberry Pi 4

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!