[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Long-time rdiff-backup user confused on new installation: permission
Re: Long-time rdiff-backup user confused on new installation: permissions
Mon, 8 Nov 2021 19:42:59 -0800
Nope, I wouldn't think of changing anything inside a backup repo. Since it
seems to work with the right permissions and ownership in repos, my only
real question is whether the 777 on the owned-by-me partition and the 755
on the owned-by-me backups directory would get me in trouble at some point.
I get the point about saving /home as its owner, but that would have
required me to figure out how to suid better and how to do it without
saving passwords in cleartext or asking for password entry at various
times. This seems to work, and I haven't heard a showstopper objection yet.
On Mon, Nov 8, 2021 at 9:50 AM <firstname.lastname@example.org> wrote:
> basically the difference lies mainly in what you can read (as root
> everything) not so much in what is written, because, as Patrik wrote, the
> access rights are saved as metadata even if the user can't create the file
> as read.
> I would use a normal user to save their own home, root for everything
> else. And foremost I wouldn't change the approach once started! And not
> change the access rights directly in a backup repository.
> Hope this helps, Eric
> On 7 November 2021 16:35:41 CET, Patrik Dufresne <email@example.com>
> >To my knowledge permission and ownership may be reflected to the target
> >destination but extra care need to be taken care of to make it happen. Man
> >page explains most of it.
> >Otherwise, Most of the time permission are not reflected to the target
> >destination and are simply stored in metadata. Then everything is owned by
> >the users running the script and 0700 for permissions.
> >Running the script as root might help. But would need to look at man page
> >to make sure.
> >On Sun., Nov. 7, 2021, 10:19 a.m. Bill Harris, <
> >firstname.lastname@example.org> wrote:
> >> Do the permissions and owners listed near the end seem reasonable?
> >> Looking at it again this morning, I guess they do.
> >> I guess I need to run this script as root, because I'm backing up files
> >> from two different users.
> >> Bill
> >> On Sun, Nov 7, 2021 at 1:11 AM Dominic Raferd <email@example.com>
> >> wrote:
> >> > On 06/11/2021 18:45, Bill Harris wrote:
> >> > > I've been using rdiff-backup for 10+ years...
> >> > What is the problem?
> >> >
> >> >