Project

General

Profile

Actions

Bug #3646

closed

Technique "Dowload a file from shared-folder" is not working properly with a source file and a directory as destination

Added by Vincent MEMBRÉ almost 11 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
2
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When using technique "Download a file from shared-folder", I want to copy a file in a directory so i configured my directive like this:

Path of the file to be copied: toto.test.txt
Destination of the file : /test_rudder/soft/sources/httpd/
What should be the recursion level of the copy : only this file
File comparison method : Exists
Owner of the file : root
Group of the file : root
Permission to apply : user RWX / group R-X / other ---

And this in not working.
I expect this to copy "toto.test.txt" in "/test_rudder/soft/sources/httpd/" and apply permissions on "/test_rudder/soft/sources/httpd/toto.test.txt"

This is not what is happenning:

the file is not copied in the destination directory. and permissions are applied to the directory and to all its files.
And it's reporting success ... So its mostly lying :)

We shoudl treat that case when the source is a "file" and the destination is a "directory" it should copy on "directory/file" and apply permissions on that file only


Related issues 3 (1 open2 closed)

Related to Rudder - Bug #4334: Technique "Download From A Shared Folder": copy files to directory destination doesn't workRejectedActions
Related to Rudder - Bug #4354: Technique "Download a file from the shared folder": Explanation about which files will be copied are not correctReleasedJonathan CLARKE2014-01-13Actions
Is duplicate of Rudder - Bug #7799: directories are not replaced by a file with the same name during file copyNewActions
Actions

Also available in: Atom PDF