meigel
When editing a remote file and sending the modified content back to the server the file permissions are lost.
Step-by-step instruction:
I suppose the file is uploaded like in a normal upload process allowing to override the target. Remembering the file permissions before editing and setting them afterwards could do the job.
This also affects overwriting a file which has some modified permissions.
In the case of editing I consider it a bug.
In the case of overwriting I am undecided. Perhaps an information for users could be helpful to indicate changed file permissions.
Here comes my system info:
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)
CPU Speed : 1594 MHz
Total Memory : 506288 KB
Free Memory : 176780 KB
+- SmartFTP ---------------------------
Version : 2.0.995.10
Time Stamp : 2006-03-02 18:57:51
Platform : x86
+- Application DLL --------------------
sfFTPLib.dll : 1.5.7.22
SmartHook.dll : 1.0.2.1
+- Language ---------------------------
SmartFTPDEU.dll : 2.0.995.11
+- System DLL -------------------------
unicows.dll : 1.0.4018.0
shell32.dll : 6.00.2900.2763 (xpsp_sp2_gdr.050922-1642)
shlwapi.dll : 6.00.2900.2781 (xpsp_sp2_gdr.051020-1730)
comctl32.dll : 6.0 (xpsp_sp2_rtm.040803-2158)
riched20.dll : 5.30.23.1221
schannel.dll : 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
+- Internet Explorer ------------------
Version : 6.0.2900.2180
+- Winsock ----------------------------
Winsock : 2.2
Step-by-step instruction:
- upload a file
- edit properties using "Properties/CHMOD"
- change the file permissions setting "execute by user" for instance
- save file permissions selecting OK (and verify them)
- choose "Edit" from context menu
- insert some text in the editor
- save the file in your editor
- use "Upload" to send modifications to server (if not done automatically)
- choose "close" to end "Remote edit"
- refresh the directory listing using F5 or context menu
- view properties using "Properties/CHMOD"
- the changed file permissions are gone
I suppose the file is uploaded like in a normal upload process allowing to override the target. Remembering the file permissions before editing and setting them afterwards could do the job.
This also affects overwriting a file which has some modified permissions.
In the case of editing I consider it a bug.
In the case of overwriting I am undecided. Perhaps an information for users could be helpful to indicate changed file permissions.
Here comes my system info:
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)
CPU Speed : 1594 MHz
Total Memory : 506288 KB
Free Memory : 176780 KB
+- SmartFTP ---------------------------
Version : 2.0.995.10
Time Stamp : 2006-03-02 18:57:51
Platform : x86
+- Application DLL --------------------
sfFTPLib.dll : 1.5.7.22
SmartHook.dll : 1.0.2.1
+- Language ---------------------------
SmartFTPDEU.dll : 2.0.995.11
+- System DLL -------------------------
unicows.dll : 1.0.4018.0
shell32.dll : 6.00.2900.2763 (xpsp_sp2_gdr.050922-1642)
shlwapi.dll : 6.00.2900.2781 (xpsp_sp2_gdr.051020-1730)
comctl32.dll : 6.0 (xpsp_sp2_rtm.040803-2158)
riched20.dll : 5.30.23.1221
schannel.dll : 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
+- Internet Explorer ------------------
Version : 6.0.2900.2180
+- Winsock ----------------------------
Winsock : 2.2