Menu

#98 Tar/untar broken in 0.7.x?

open
General (73)
5
2012-10-25
2006-05-26
Mathieu Lu
No

Import of archives seems broken, it will not untar,
reporting in the lcm.log that there are many permission
denied operations.

The cause of the problem seems to be that the path of
the files is included in the tar. e.g. instead of
db-foo/lcm_case.csv, it has
/var/www/foo/db-foo/lcm_case.csv. So importing into a
different LCM causes permissions problems.

It will be important to fix this, but it might also be
a good idea to use Zip in the future, since we ship
with pclzip lib and it seems to work much better.

matt

Discussion


Log in to post a comment.

MongoDB Logo MongoDB