View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000274 | bareos-core | file daemon | public | 2014-02-04 13:42 | 2015-03-25 19:19 | 
| Reporter | maik | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | Windows 7 | OS | Windows | OS Version | 7 | 
| Product Version | 14.1.0 | ||||
| Fixed in Version | 14.2.0 | ||||
| Summary | 0000274: bareos-fd on windows 7 struggles with unix-style pathes | ||||
| Description | When running a restore job and trying to restore files to a path in unix-style, restore fails with an error: 04-Feb 12:47 10.20.240.67-fd JobId 18361: Error: findlib/mkpath.c:130 Cannot create directory /tmp: ERR=File exists It works with path 'C:\' and it also works on Windows 2012 with unix-style pathes (with released versions 12.4 / 13.2 no problem at all)  | ||||
| Steps To Reproduce | Default restore job to a windows 7 machine (path automatically predefined /tmp/bareos-restores) | ||||
| Tags | No tags attached. | ||||
| Fix committed to bareos master branch with changesetid 1495. | |
| Fix committed to bareos2015 bareos-14.2 branch with changesetid 4911. | |
| 
	Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again. Sorry for the noise.  | 
|
| 
	
	 bareos: master 4adffb6e 2014-02-18 16:48 Ported: N/A Details Diff | 
Use proper filename for windows paths. For ASCII paths you need to use unix_name_to_win32() and for UTF8 paths make_win32_path_UTF8_2_wchar() We were always doing first a unix_name_to_win32() and that output as input for UTF8 make_win32_path_UTF8_2_wchar() that ain't going to work. Fixes 0000274: bareos-fd on windows 7 struggles with unix-style pathes  | 
Affected Issues 0000274  | 
|
| mod - src/win32/compat/compat.c | Diff File | ||
| mod - src/win32/compat/include/compat.h | Diff File | ||
| 
	
	 bareos2015: bareos-14.2 2fc981ba 2014-02-18 17:48 Ported: N/A Details Diff | 
Use proper filename for windows paths. For ASCII paths you need to use unix_name_to_win32() and for UTF8 paths make_win32_path_UTF8_2_wchar() We were always doing first a unix_name_to_win32() and that output as input for UTF8 make_win32_path_UTF8_2_wchar() that ain't going to work. Fixes 0000274: bareos-fd on windows 7 struggles with unix-style pathes  | 
Affected Issues 0000274  | 
|
| mod - src/win32/compat/compat.c | Diff File | ||
| mod - src/win32/compat/include/compat.h | Diff File | ||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2014-02-04 13:42 | maik | New Issue | |
| 2014-02-11 14:20 | mvwieringen | Assigned To | => pstorz | 
| 2014-02-11 14:20 | mvwieringen | Status | new => assigned | 
| 2014-02-18 20:54 | mvwieringen | Changeset attached | => bareos master 4adffb6e | 
| 2014-02-18 20:54 | mvwieringen | Note Added: 0000818 | |
| 2014-02-18 20:54 | mvwieringen | Assigned To | pstorz => mvwieringen | 
| 2014-02-18 20:54 | mvwieringen | Status | assigned => resolved | 
| 2014-02-18 20:54 | mvwieringen | Resolution | open => fixed | 
| 2014-05-16 17:20 | 
					 | 
				Assigned To | mvwieringen => | 
| 2014-05-16 17:20 | 
					 | 
				Status | resolved => closed | 
| 2014-05-16 17:20 | 
					 | 
				Fixed in Version | => 14.2.0 | 
| 2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-14.2 2fc981ba | 
| 2015-03-25 16:51 | mvwieringen | Note Added: 0001477 | |
| 2015-03-25 16:51 | mvwieringen | Status | closed => resolved | 
| 2015-03-25 19:19 | joergs | Note Added: 0001624 | |
| 2015-03-25 19:19 | joergs | Status | resolved => closed |