bugConcurrent Versions System - Bugs: bug #16896, "cvs -n import -X" fails...

 
 

bug #16896: "cvs -n import -X" fails when new directories are to be imported

Submitter:  Florian Zschocke <floriZ>
Submitted:  Tue 20 Jun 2006 05:26:17 PM UTC
   
 
Category:  Bug Fix (patch attached) Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 20 Jun 2006 05:26:17 PM UTC, original submission:  

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.

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.

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

Florian Zschocke <floriZ>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #10227:  import.c.patch added by floriZ (663B - text/x-patch - Patch for import.c)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2006-06-20 floriZ Attached File- Added import.c.patch, #10227

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code