How to give a Linux user permission to create backups, but not permission to delete them?
- by ChocoDeveloper
I want to set up automated backups that are kept safe from myself (in case a virus pwns me). The problem is the "create" and "delete" permissions are the same thing: write permission. So what can I do about it? Is it possible to decouple the create/delete permissions?
Another option could be to let the user "root" make the backups. The problem is my home directory is encrypted, and I don't want to backup everything.
Any ideas?
For the backups I'm using Deja Dup, which is installed by default in Fedora and Ubuntu.