Bug 199587 - [efs] Editing a Read-Only file doesn't switch to writable after Clicking yes when prompted to make writable
Summary: [efs] Editing a Read-Only file doesn't switch to writable after Clicking yes ...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-10 11:07 EDT by Kevin Doyle CLA
Modified: 2007-09-13 11:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Doyle CLA 2007-08-10 11:07:04 EDT
If you open and try to edit a read only file in a remote project you will get a dialog asking if you want to make the file writable.  If you click Yes the file is not made writable and you can't edit the file.

This is similar to bug #197976, but this is for efs.

Also if you right click on a file in a remote project the option to make a file read only is not there.

-----------Enter bugs above this line-----------
TM 2.0.1 Testing
installation : eclipse-SDK-3.3
RSE install  : Dev Driver - 
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-08-10 11:16:46 EDT
Problem fixed:
[199587] return attributes of RSEFileSystem
    RSEFileSystem.java  1.2
Comment 2 Martin Oberhuber CLA 2007-08-10 11:17:12 EDT
I tested against Local, could you test against other remote's ?
Comment 3 Kevin Doyle CLA 2007-08-10 11:58:04 EDT
SSH/FTP don't work for me.  SSH issue's might be because of bug #190904.  FTP issue's because of bug #199596.

DStore works, but after making a file read only in a remote project and opening the file it says: "The file has been changed on the file system.  Do you want to load the changes?"
Comment 4 Kevin Doyle CLA 2007-09-13 11:43:40 EDT
With 2.0.1 RC1 FTP don't work for me as mentioned previously.  SSH works on one connection and sometimes on another connection.

On DStore and SSH(when it works) I can reproduce the "The file has been changed on the file system.  Do you want to load the changes?" message by doing this:

1. Open a read-only file in your efs dstore project.
2. Edit the file and when prompted make the file writable.
3. Make some changes and save the file.
4. Close the file.
5. Make the file read-only from it's properties page.
6. Re-open the file.  
--> Get the message saying the file has been changed on the file system.