WORM - write-once-read-many

General support questions
Post Reply
Posts: 41
Joined: 2005/05/19 19:03:40

WORM - write-once-read-many

Post by sudoyang » 2012/03/14 00:32:39

I would like to get inputs on what would be a good option to create a WORM (or Write-Once-Read-Many) for files and directories? I'm aware of extended attributes (-i to chattr can do that) but that would be too slow since there are too many files (multi-millions). Plus, only root could use chattr -i and sudo would be too much overhead for millions of files.

Could selinux help here? selinux policies can be defined at bootup so that even root can't change the policy if the policy is strict enough?

What about any extention to the file system (of VFS) that can be used to achieve this?

Any input would be appreciated.

Posts: 56
Joined: 2009/07/17 22:32:51

Re: WORM - write-once-read-many

Post by Ideal » 2012/03/17 02:58:22

How about using squashfs?

Posts: 6
Joined: 2012/03/18 12:11:37

Re: WORM - write-once-read-many

Post by new_item » 2012/03/18 22:02:42

Maybe this way:

http://en.positon.org/post/A-solution-to-the-umask-problem%3A-inotify-to-force-permissions ?

I know that you mention that there is plenty of files, but it looks like changing permissions for every file in folder have to be done once. Afther that everything is done 'in the fly'.

Post Reply

Return to “CentOS 6 - General Support”