Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317786 - Unify attribute access for symbolic links on Windows and Unix
Summary: Unify attribute access for symbolic links on Windows and Unix
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 04:40 EDT by Pawel Pogorzelski CLA
Modified: 2020-03-05 17:34 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Pogorzelski CLA 2010-06-24 04:40:57 EDT
There is a difference on how Eclipse handles symlinks on different system. On Unix attributes of a IFileInfo apply to the link target instead of the link. This behavior existed even before EFS started to support symlinks since attribute access was implemented via stat function that follows links transparently.

On Windows this functionality is implemented via FindFirstFile and SetFileAttributes, both returning information about the symbolic link, not the target. EFS.ATTRIBUTE_SYMLINK and EFS.ATTRIBUTE_LINK_TARGET were added on bug 312715 but the behavior remained the same.

Attributes handling should be unified. When done, tests for symlinks should be enabled for Windows.
Comment 1 Pawel Pogorzelski CLA 2010-06-24 05:19:14 EDT
This have a potential of braking clients since natives for Windows work this way since Eclipse 3.2.
Comment 2 Szymon Brandys CLA 2010-06-28 06:39:19 EDT
(In reply to comment #1)
Pawel, please target it for 3.7 M1. If we want to consider backporting in 3.6.1, we need time to test it.
Comment 3 Pawel Pogorzelski CLA 2010-08-02 12:53:53 EDT
Moving to M2.
Comment 4 Szymon Brandys CLA 2010-08-30 08:08:06 EDT
Moving the bug to the inbox. Pawel does not work in this area anymore.
Comment 5 Eclipse Genie CLA 2020-03-05 17:34:42 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.