Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332148 - [native] Don't fail install when rmdir cannot delete empty directory
Summary: [native] Don't fail install when rmdir cannot delete empty directory
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.6.2+   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 331609
Blocks:
  Show dependency tree
 
Reported: 2010-12-08 11:39 EST by DJ Houghton CLA
Modified: 2012-03-09 16:53 EST (History)
3 users (show)

See Also:


Attachments
potential patch (1.90 KB, patch)
2010-12-09 11:20 EST, DJ Houghton CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2010-12-08 11:39:30 EST
Cloned to track release into 3.6.x stream.

+++ This bug was initially created as a clone of Bug #331609 +++

We had a case lately where we were getting errors in the log file because we were running in shared mode and the user was trying to uninstall a bundle but couldn't delete something from the shared area. (part of the unconfigure phase)

We should consider only writing this information to the log file if we are in debug mode since this will be the expected behaviour for shared installs.
Comment 1 DJ Houghton CLA 2010-12-09 11:20:48 EST
Created attachment 184870 [details]
potential patch
Comment 2 DJ Houghton CLA 2011-01-11 16:43:26 EST
Patch released to maintenance branch. (+ bundle version increase)
Comment 3 John Arthorne CLA 2012-03-09 16:53:29 EST
It looks like this was never tagged for 3.6.2. Moving target to 3.6.2+.

C:\1target\36maintenance\rt.equinox.p2>git log R36x_v20110111..R36x_v20120223 bundles/org.eclipse.equinox.p2.touchpoint.natives
commit 2492b0a0bf99bc072724cd5380a20bd315e5518d
Author: DJ Houghton <dj>
Date:   Tue Jan 11 21:43:04 2011 +0000

    Bug 332148 - [native] Don't fail install when rmdir cannot delete empty directory

C:\1target\36maintenance\rt.equinox.p2>