Bug #48652

Copying configuration fails for files in subdirectories

Added by Andreas Wolf over 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Target version:
-
Start date:
2013-05-29
Due date:
% Done:

100%

Estimated time:

Description

When a file should be copied to a subdirectory of Configuration/*/, e.g. for a subcontext, the scp operation fails.

The (misleading) error message is scp: /var/www/.../Configuration/Production/Subcontext/: Is a directory – the real cause is that the directory does not exist and thus scp would rather copy the file to the folder path, which is pointless as the path points to a directory.

Solution would be to execute a mkdir -p ...$configurationPath before copying the file.

#1

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch master of project Packages/TYPO3.Surf has been pushed to the review server.
It is available at https://review.typo3.org/28201

#2

Updated by Gerrit Code Review over 7 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.Surf has been pushed to the review server.
It is available at https://review.typo3.org/28201

#3

Updated by Anonymous almost 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF