Bacula-users

Re: [Bacula-users] restore ok, file permissions/owner wrong

2010-12-15 15:54:41
Subject: Re: [Bacula-users] restore ok, file permissions/owner wrong
From: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 15 Dec 2010 21:52:42 +0100
Martin Simmons schrieb:
> >>>>> On Wed, 15 Dec 2010 09:44:43 +0100, Ralf Gross said:
> > 
> > I had to do a restore 1,5K files, the files that needed to be restored
> > were known. So I choose restore option 7 (list of files).
> > 
> > The restore was done and all seemd fine, file permissions and ACLs of
> > the restored files were correct. _But_ bacula also changed the
> > ownership/permissions/acls of the directories that werr in the path to
> > the restored files. The ownership was changed to root:root.
> > 
> > If I choose restore option 5 (last backup) and restore all files, the
> > owndership is set correct.
> > 
> > Is this a known problem? This makes the restore nearly useless,
> > beacuse users can not access the files/directories any more.
> 
> It uses root:root when it creates a directory, but it shouldn't change the
> owner of existing directories unless you marked them for restore.

Hm, okay. I restored the files to /tmp/bacula-restores/ and then moved
them to the final destination. Seems that this was no good idea.

Ralf

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>