I'm having problems with ownership and permission of directories after restoring files.
Example: I restored the file /sw/local/sbin/test.txt from tape (a full backup) to my home directory (where=/home/yngjo) and using replace=ifnewer. The file is restored to /home/yngjo/sw/local/sbin/test.txt, so far so good. But the problem is that directory entries /home/yngjo/sw, /home/yngjo/sw/local and /home/yngjo/sw/local/sbin are all getting wrong ownership and permissions. >From the Bacula log I can see that it restores the file /sw/local/sbin/test.txt first (because it is found before directory entries on the tape). I guess it, at that point, creates the parent directories (sw/local/sbin) using some rule. When Bacula later finds the parent directories on tape, the directories already exists with a newer timestamp on disk, and they will not be restored from tape. If I use "replace=always" then all parent directories are restored, but that's not what I want. Am I right? Is there anything I can do fix the problem? I'm running 1.37.36 on a Red Hat EL3. Regards Yngve ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users