How to give a Linux user permission to create backups, but not permission to delete them?
Posted
by
ChocoDeveloper
on Super User
See other posts from Super User
or by ChocoDeveloper
Published on 2013-10-17T21:55:07Z
Indexed on
2013/10/17
22:00 UTC
Read the original article
Hit count: 345
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.
© Super User or respective owner