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É over 11 years ago.
Updated about 8 years ago.
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
- Target version changed from 2.4.7 to 2.4.8
- Target version changed from 2.4.8 to 2.4.9
- Target version changed from 2.4.9 to 2.4.10
- Target version changed from 2.4.10 to 2.4.11
- Target version changed from 2.4.11 to 2.4.12
- Target version changed from 2.4.12 to 2.4.13
This bug could lead to #4334 by mistake
- Status changed from New to 8
- Priority changed from 1 (highest) to 2
- Target version changed from 2.4.13 to 2.6.10
- Target version changed from 2.6.10 to 2.6.11
- Target version changed from 2.6.11 to 2.6.12
- Target version changed from 2.6.12 to 2.6.13
- Target version changed from 2.6.13 to 2.6.14
- Target version changed from 2.6.14 to 2.6.16
- Target version changed from 2.6.16 to 2.6.17
- Target version changed from 2.6.17 to 2.6.18
- Target version changed from 2.6.18 to 2.6.19
- Target version changed from 2.6.19 to 2.6.20
- Target version changed from 2.6.20 to 2.10.10
- Target version changed from 2.10.10 to 2.10.11
- Target version changed from 2.10.11 to 2.10.12
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques
- Target version changed from 2.10.12 to 2.10.13
- Status changed from 8 to New
- Target version changed from 2.10.13 to 2.10.14
- Target version changed from 2.10.14 to 2.10.15
- Target version changed from 2.10.15 to 2.10.16
- Target version changed from 2.10.16 to 2.10.17
- Target version changed from 2.10.17 to 2.10.18
- Target version changed from 2.10.18 to 2.10.19
- Target version changed from 2.10.19 to 2.10.20
- Target version changed from 2.10.20 to 2.11.18
- Target version changed from 2.11.18 to 2.11.19
- Target version changed from 2.11.19 to 2.11.20
- Target version changed from 2.11.20 to 2.11.21
- Target version changed from 2.11.21 to 2.11.22
- Target version changed from 2.11.22 to 2.11.23
- Target version changed from 2.11.23 to 2.11.24
- Target version changed from 2.11.24 to 308
- Target version changed from 308 to 3.1.14
- Target version changed from 3.1.14 to 3.1.15
- Target version changed from 3.1.15 to 3.1.16
- Target version changed from 3.1.16 to 3.1.17
- Assignee set to Alexis Mousset
I guess this is a duplicate of #7799
- Status changed from New to Rejected
- Is duplicate of Bug #7799: directories are not replaced by a file with the same name during file copy added
Also available in: Atom
PDF