** Description changed: Binary package hint: freebsd-buildutils I've been trying to use freebsd-mtree to capture and restore file and directory permissions for a directory tree to be checked into a version control system. I am able to create an mtree file, but when trying to compare the directory with the contents of this file it always fails. I set up a directory 'test' containing a subdirectory 'test1' in my home directory and ran: freebsd-mtree -c -p test Which gave me the output: # user: testuser # machine: testuser-laptop # tree: /home/testuser/test # date: Sat Dec 19 22:51:16 2009 # . /set type=file uid=1000 gid=1000 mode=0755 nlink=1 \056 type=dir nlink=3 size=4096 time=1261263072.449459025 # ./test1 \164\145\163\164\061 \ - type=dir nlink=2 size=4096 time=1261263013.626458064 + type=dir nlink=2 size=4096 time=1261263013.626458064 # ./test1 .. .. I piped this to a file 'mtree' then attempted to run: freebsd-mtree -U -f mtree -p test which gave me the output: . extra - missing (directory not created: No such file or directory) + missing (directory not created: No such file or directory) / missing (directory not created: File exists) - I don't have ready access to a BSD system to run the original command - on, but this looks like it might be a problem with the port to Linux of - this tool. + Any missing files/directories were not recreated, nor were incorrect + ownership permissions restored. I don't have ready access to a BSD + system to run the original command on, but this looks like it might be a + problem with the port to Linux of this tool. ProblemType: Bug Architecture: i386 Date: Sat Dec 19 22:42:12 2009 DistroRelease: Ubuntu 9.10 Package: freebsd-buildutils 7.2-1 ProcEnviron: - LANG=en_GB.UTF-8 - SHELL=/bin/bash + LANG=en_GB.UTF-8 + SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-16.53-generic SourcePackage: freebsd-buildutils Tags: ubuntu-unr Uname: Linux 2.6.31-16-generic i686
-- Utility freebsd-mtree appears to create an invalid mtree file https://bugs.launchpad.net/bugs/498634 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs