[On 03 Apr, @ 00:51, FX wrote in "Bug#302790: Directory ownershi ..."] > package: hdup > severity: important > tags: security > > The ownership/permission information of directories/subdirectories are > getting lost when restoring from backup. > > Unlike individual files within directories, the directories themselves > are not getting backed up. This results in files having proper
I know this. Let explain (as this will be archived I can link to this from my documention). Firstly, hdup1.6 does not have this problem. Secondly, there is a solution, but requires a (non-existent) patch to tar and a patch to hdup2. As hdup generates it's own filelist of files that need to backed up, I could use tar's --no-recursion option. See [1] for a discussion I had on bug-tar's ML. As it turnes out there is a slight bug in tar with --no-recursion and --files-from and --listed-incremental. With that used tar will create backups that include everything three (3!) times. During hdup2.0.0/2.0.1 I worked very hard to try to use star or cpio but those efforts lead to nowhere. So I went back up to tar in the hopes that gnu tar could be fixed. I think I found out what goes wrong in tar, but as of yet I have not mailed any patch. I will try to look at it again, and hopefully a newer tar will have a fix for this. The fix for hdup2 is trivial (once tar is fixed), because you need only to enable --no-recursion and allow the printing of subdirectories in the filelist again. [1] http://lists.gnu.org/archive/html/bug-tar/2005-02/msg00057.html grtz Miek -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]