adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

[Brackets Drag and Drop] Drag and drop a "no access file " to another folder doesn't throw correct error message #14240

Open kratika99 opened 6 years ago

kratika99 commented 6 years ago

Description [Brackets Drag and Drop] [win]Drag and drop a "no access file " to another folder doesn't throw correct error message

Steps to Reproduce 1) Launch Brackets 1.13.0-17655 2) go to file->open folder select some folder 3) select a file which has no access , in explorer right click on file->properties->security->edit->check all options under Deny and apply the changes such that the file doesn't have read/ write and other access 3) drag and drop the file to another subfolder

Actual behavior: It throws an error message saying "The file or directory could not be read" Expected behavior: It pops up a message box displaying that "The permissions don't allow you to make modifications" On explorer if we do same actions, it throws a message for "you need administrator permissions to perform this action" On Mac it shows, error ""The permissions don't allow you to make modifications" Versions: Win 10, Release 1.13 build 1.13.0-17655

kratika99 commented 6 years ago

read