Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Unknown
-
Resolution: Fixed
-
Affects Version/s: 0.10.2, 0.10.4
-
Fix Version/s: 0.10.10
-
Component/s: Chef Client
-
Labels:
-
Environment:
Ubuntu
Description
remote_directory fails trying to purge a non-empty directory
remote_directory fails if "purge" is set to true and the destination directory is not empty. e.g.
trying to copy to
A |_B |_C
fails stating "B" is not empty. The failure is primarily because Directory.rm does not force delete.
FileUtils.rm_rf may be a better bet.
Issue Links
- is duplicated by
-
CHEF-3028
remote_directory purge fails with managed folders only containing folders
-
Activity
Laurent Désarmes
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Laurent Désarmes [ laurent ] |
Laurent Désarmes
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Laurent Désarmes
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Daniel DeLeo
made changes -
| Description |
remote_directory fails trying to purge a non-empty directory
remote_directory fails if "purge" is set to true and the destination directory is not empty. e.g. trying to copy to A |_B |_C fails stating "B" is not empty. The failure is primarily because Directory.rm does not force delete. FileUtils.rm_rf may be a better bet. |
remote_directory fails trying to purge a non-empty directory
remote_directory fails if "purge" is set to true and the destination directory is not empty. e.g. trying to copy to {noformat} A |_B |_C {noformat} fails stating "B" is not empty. The failure is primarily because Directory.rm does not force delete. FileUtils.rm_rf may be a better bet. |
Bryan McLellan [Opscode]
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Laurent Désarmes
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Bryan McLellan [Opscode]
made changes -
| Triage Status | [Triaged] |
Bryan McLellan [Opscode]
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Fix Version/s | 0.10.10 [ 10702 ] |
Bryan McLellan [Opscode]
made changes -
Bryan McLellan [Opscode]
made changes -
| Component/s | Chef Client [ 10000 ] | |
| Component/s | Resources [ 10004 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | jira [ 14321 ] | New OSS [ 20208 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 20208 ] | OSS: Product Management [ 28123 ] |
| Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
|---|---|---|---|---|---|---|---|---|---|
|
154d 18h 6m | 1 | Laurent Désarmes | 09/Feb/12 1:02 PM | |||||
|
18m 6s | 1 | Laurent Désarmes | 09/Feb/12 1:20 PM | |||||
|
6d 5h 52m | 1 | Bryan McLellan [Opscode] | 15/Feb/12 7:13 PM | |||||
|
15d 5h 12m | 1 | Laurent Désarmes | 02/Mar/12 12:25 AM | |||||
|
32d 19h 5m | 1 | Bryan McLellan [Opscode] | 03/Apr/12 7:30 PM |
Damn you wiki markup!
The folder structure intended was
A -> B -> C