Well, I've checking out the code and I am really unable to fix the
bug. It turns out that for some reason, VacDirEnum *vde inside unvac
gets the wrong permissions for 2009/0311, since it writes it with 0555
instead of 0755, when starts to walk the file tree.
I hope someone can fix this.
Saludos

2009/3/11, hugo rivera <[email protected]>:
> hi there,
>  there is a strange bug in unvac from p9p. When you vac a file tree
>  with the -a option, to have something like 2009/0311/yourtree, and
>  then you unvac it with "unvac vacfile
>  2009/0311/yourtree/thefileyouwant", unvac dies with a segmentation
>  fault. Apparently unvac creates the 2009 directory, but with r-xr-xr-x
>  permissions, so it is not able to write to it. You have to manually
>  create the 2009/0311 directory, with the right permissions, so unvac
>  is able to put your files there. Note that if you do not create the
>  0311 directory inside 2009, then you have your segfault again, for the
>  same reason as before. But when you have both directories, you can
>  extract whatever you want without problems ;-) (really neat stuff,
>  venti and its friends).
>  Maybe I can send a patch for this, but I am not sure if my programming
>  skills are good enough to start sending code to plan 9.
>  Saludos
>
>  --
>
> Hugo
>


-- 
Hugo

Reply via email to