I am using Drupal 7.18 on a server Ubuntu 12.10
In the folder , I have:
1) a file ( test.txt ) and
2) a link to the file ( testlink.txt -> test.txt ).
Using the IMCE File Manager, If I delete the link 'testlink.txt', IMCE atually deletes the target of the link 'text.txt' and leave 'testlink.txt' intact.
The expected behavior should be that the link is deleted and that the target (test.txt) is left untouched.
Thanks for yo attention,
Best regards

Screenshot at 2013-01-17 10:57:22.png356.11 KBvlalieu
Members fund testing for the Drupal project. Drupal Association Learn more


ufku’s picture

Title: Deleting a link to a file delete the file and leave the link undeleted » file_unmanaged_delete deletes the target of the given symbolic link
Project: IMCE » Drupal core
Version: 7.x-1.x-dev » 7.x-dev
Component: Code » file system
Assigned: vlalieu » Unassigned

The target file is deleted and the link stays intact.