Package: cvs
Version: 1.12.13
Tags: patch

Simulating an import to CVS using the -X switch fails, when new
directories would be created in the repository by the import. The
import with the -X switch would import to the Attic. It tires to
create the Attic directory, ignoring the noexec flag, which will fail
because the upper directory will not have been created due to the
noexec flag.

Testcase:
$ cvs -d /srv/cvs -n import -d -ko -X oe Ope ope-20060405
cvs [import aborted]: cannot make directory `/srv/cvs/oe/Attic': No
such file or directory

A patch is provided for import.c that adds a check for the noexec flag
to the process_import_file() function when creating the Attic
directory.

Upstream BugId is #16896

Regards,
Florian Zschocke

Attachment: 25_import-n-X
Description: Binary data

Reply via email to