[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: write only storage.



Well, chattr -i turns that off

On Tue, Sep 21, 2021 at 04:29:07PM +0000, Toni Mas Soler wrote:
I use to backup my iPhone's photo library using a stfp connection (all in the same directory in my PC). Thus, I can chattr +i the only directory needed and nobody can remove.

I cannot understand why chattr does not achieve you.

Toni Mas
GPG 3F42A21D84D7E950

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

El dimarts, 21 de setembre 2021 a les 17:53, Tim Woodall <debianuser@woodall.me.uk> va escriure:

I would like to have some WORM memory for my backups. At the moment


they're copied to an archive machine using a chrooted unprivileged user


and then moved via a cron job so that that user cannot delete them


(other than during a short window).


My though was to use a raspberry-pi4 to provide a USB mass storage


device that is modified to not permit deleting. If the pi4 is not


accessible via the network then other than bugs in the mass storage API


it should be impossible to delete things without physical access to the


pi.


Before I start reinventing the wheel, does anyone know of anything


similar to this already in existence?


Things like chattr don't achieve what I want as root can still override


that. I'm looking for something that requires physical access to delete.




Reply to: