MATLAB: Do I receive a misleading error message when I attempt to delete a file with no write permission in MATLAB on Linux

chmoddeletelinuxMATLABwwrite

I am deleting a file from a directory for which I have write permission. I do not have write permission for the file. On attempting to delete the file, I receive the following misleading message:
"you don't have write permission to delete the file ...
would you like to change the permissions and delete anyway"
To reproduce the message execute the following at the MATLAB command prompt:
!mkdir test
!chmod 0750 test
!touch test/file
!chmod 0440 test/file
Now, try to delete the file from the MATLAB Current Directory browser.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified that the message displayed on a LINUX machine in MATLAB when attempting to delete a file without write permission, from a directory with write permission, is misleading. This issue is under consideration for a message change in a future release of MATLAB.